Skip to content

Commit 16e2e27

Browse files
committed
fix exists check
1 parent d17af58 commit 16e2e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genepub.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if ! which pandoc >/dev/null ;then
33
echo "请先安装pandoc,然后再次运行"
44
exit 0
55
fi
6-
[ -f build-web-application-with-golang ] && go build
6+
[ -f build-web-application-with-golang ] || go build
77
[ -d html ] || mkdir html
88
pushd html >/dev/null; cp ../*.md .
99
sed -i 's!https://github.com/astaxie/build-web-application-with-golang/blob/master/!!g' README.md

0 commit comments

Comments
 (0)