forked from p15670423/monkey
Build: Double quote variables to prevent splitting
This commit is contained in:
parent
f7ad99f592
commit
1b6856b0c2
|
@ -3,7 +3,7 @@
|
|||
LINUXDEPLOY_URL="https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
|
||||
PYTHON_VERSION="3.7.13"
|
||||
PYTHON_APPIMAGE_URL="https://github.com/niess/python-appimage/releases/download/python3.7/python${PYTHON_VERSION}-cp37-cp37m-manylinux1_x86_64.AppImage"
|
||||
APPIMAGE_DIR="$(realpath $(dirname $BASH_SOURCE[0]))"
|
||||
APPIMAGE_DIR=$(realpath "$(dirname "$BASH_SOURCE[0]")")
|
||||
APPDIR="$APPIMAGE_DIR/squashfs-root"
|
||||
BUILD_DIR="$APPDIR/usr/src"
|
||||
|
||||
|
@ -30,7 +30,7 @@ setup_build_dir() {
|
|||
local deployment_type=$3
|
||||
local is_release_build=$4
|
||||
|
||||
pushd $APPIMAGE_DIR || handle_error
|
||||
pushd "$APPIMAGE_DIR" || handle_error
|
||||
|
||||
setup_python_37_appdir
|
||||
|
||||
|
@ -115,7 +115,7 @@ build_package() {
|
|||
--output appimage
|
||||
|
||||
dst_name="InfectionMonkey-$version.AppImage"
|
||||
move_package_to_dist_dir $dist_dir $dst_name
|
||||
move_package_to_dist_dir "$dist_dir" "$dst_name"
|
||||
|
||||
popd || handle_error
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue