Use FILE_MODE variable

This commit is contained in:
Kevin Sawicki 2014-09-22 10:08:39 -07:00
parent c4e3b76070
commit 6b23479c3f

View File

@ -16,7 +16,7 @@ DEB_PATH="$6"
FILE_MODE=755
TARGET_ROOT="`mktemp -d`"
chmod 755 "$TARGET_ROOT"
chmod $FILE_MODE "$TARGET_ROOT"
TARGET="$TARGET_ROOT/atom-$VERSION-$ARCH"
mkdir -m $FILE_MODE -p "$TARGET/usr"