diff options
Diffstat (limited to 'mingw-release')
| -rwxr-xr-x | mingw-release | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mingw-release b/mingw-release index 61a07899..722a7fe5 100755 --- a/mingw-release +++ b/mingw-release @@ -36,7 +36,7 @@ test -z "$BUILD_VER" && BUILD_VER=1 test -z "$LABEL" && LABEL=$HOST # cd to the directory where this script exists. -cd $(dirname $0) +cd "$(dirname "$0")" . ./script-helper get_version @@ -48,8 +48,8 @@ fi DIST_DIR=aria2-${VERSION}-${LABEL}-build${BUILD_VER} -mkdir $DIST_DIR +mkdir "$DIST_DIR" cp AUTHORS COPYING ChangeLog LICENSE.OpenSSL NEWS README.html README.mingw \ - mingw-out/aria2c.exe $DIST_DIR -zip -9 -r $DIST_DIR.zip $DIST_DIR -rm -rf $DIST_DIR + mingw-out/aria2c.exe "$DIST_DIR" +zip -9 -r "$DIST_DIR.zip" "$DIST_DIR" +rm -rf "$DIST_DIR" |
