Browse Source

Fix the -d bug in the build.sh.

master
Zic 8 years ago
parent
commit
deaeb39618
  1. 4
      build/script/build.sh

4
build/script/build.sh

@ -42,7 +42,7 @@ echo "packaging..."
distPath="$GOPATH/src/tank/dist" distPath="$GOPATH/src/tank/dist"
# if a directory # if a directory
if [ ! -d $distPath ] ; then if [ -d $distPath ] ; then
echo "clear $distPath" echo "clear $distPath"
rm -rf $distPath rm -rf $distPath
fi fi
@ -54,7 +54,7 @@ echo "copying cmd tank"
cp "$GOPATH/bin/tank" $distPath cp "$GOPATH/bin/tank" $distPath
echo "copying build" echo "copying build"
cp -r "$GOPATH/src/tank/build" $distPath cp -r "$GOPATH/src/tank/build/." $distPath
cd $PRE_DIR cd $PRE_DIR

Loading…
Cancel
Save