File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ $OHOW --version >/dev/null || {
9
9
}
10
10
11
11
OUT=home
12
- [ " $1 " = ' -l' ] && local=' --local'
12
+ [ " $1 " = ' -l' ] && local=--local || local=
13
13
14
14
# NOTE redirections have to be done this way because: GitHub Pages uses
15
15
# symlinks to change the displayed page but the URL is not
27
27
}
28
28
29
29
export HOW_HACK_NOPROJECT=t
30
- options=" --project ' githubio' --api api --manual src --images img --assets download --template template/homepage-template.wiki$local "
30
+ options=" --project githubio --api api --manual src --images img --assets download --template template/homepage-template.wiki"
31
31
32
32
mkdir -p $OUT
33
33
find src -name ' *.wiki' -exec basename {} \; | while read -r wiki; do
34
34
html=${wiki% wiki} html
35
- $OHOW $options -o $OUT /$html src/$wiki || exit 2
35
+ $OHOW $options $local -o $OUT /$html src/$wiki || exit 2
36
36
make-redir " $OUT /$( basename $html ) " $html
37
37
done
38
38
make-redir " $OUT /intro.html" index.html
You can’t perform that action at this time.
0 commit comments