Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Nov 3, 2014
2 parents 872a4a4 + a451f54 commit 573facb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ make_zip()
echo "*** 开始打包:$2 ***"
cd $ROOT_DIR && \
rm -f $2 && \
# tar zcf $2 laravel/*
cd laravel && git archive --format=tar HEAD | gzip > $ROOT_DIR/$2
rm -rf laravel/.git && tar zcf $2 laravel/*
cd ../ && rm -rf laravel
echo "*** 打包完毕:$2 ***"
fi
Expand Down

0 comments on commit 573facb

Please sign in to comment.