Update d2z.sh

This commit is contained in:
tianyu 2015-08-15 15:42:51 +08:00
parent bcf126e8e7
commit c7371a44ac
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ else
OPT="-o"
fi
chmod -R a+rwX "$DIR"
zip -r -0 "$DIR.zip" "$DIR"
if [ "$OPT" = "-z" ]; then