diff --git a/scripts/build.sh b/scripts/build.sh index 5d78fdb..d6e4a93 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -29,8 +29,7 @@ if [ "$HOST_ARCH" != "x86_64" ] && [ "$HOST_ARCH" != "aarch64" ]; then fi cd "$(dirname "$0")" || exit 1 trap umount_clean EXIT -PARENT_DIR="$(dirname "$PWD")" -# export TMPDIR=$PARENT_DIR/WORK_DIR_ +# export TMPDIR=$(dirname "$PWD")/WORK_DIR_ if [ "$TMPDIR" ] && [ ! -d "$TMPDIR" ]; then mkdir -p "$TMPDIR" fi diff --git a/scripts/run.sh b/scripts/run.sh index 212dbcc..8e0e8ee 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -21,8 +21,6 @@ # DEBUG=--debug # CUSTOM_MAGISK=--magisk-custom -DOWNLOAD_DIR=../download - if [ ! "$BASH_VERSION" ]; then echo "Please do not use sh to run this script, just execute it directly" 1>&2 exit 1