mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-27 13:44:16 +01:00
Minor changes
This commit is contained in:
parent
bd698e1f96
commit
2c3240a7ee
@ -29,8 +29,7 @@ if [ "$HOST_ARCH" != "x86_64" ] && [ "$HOST_ARCH" != "aarch64" ]; then
|
|||||||
fi
|
fi
|
||||||
cd "$(dirname "$0")" || exit 1
|
cd "$(dirname "$0")" || exit 1
|
||||||
trap umount_clean EXIT
|
trap umount_clean EXIT
|
||||||
PARENT_DIR="$(dirname "$PWD")"
|
# export TMPDIR=$(dirname "$PWD")/WORK_DIR_
|
||||||
# export TMPDIR=$PARENT_DIR/WORK_DIR_
|
|
||||||
if [ "$TMPDIR" ] && [ ! -d "$TMPDIR" ]; then
|
if [ "$TMPDIR" ] && [ ! -d "$TMPDIR" ]; then
|
||||||
mkdir -p "$TMPDIR"
|
mkdir -p "$TMPDIR"
|
||||||
fi
|
fi
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
# DEBUG=--debug
|
# DEBUG=--debug
|
||||||
# CUSTOM_MAGISK=--magisk-custom
|
# CUSTOM_MAGISK=--magisk-custom
|
||||||
|
|
||||||
DOWNLOAD_DIR=../download
|
|
||||||
|
|
||||||
if [ ! "$BASH_VERSION" ]; then
|
if [ ! "$BASH_VERSION" ]; then
|
||||||
echo "Please do not use sh to run this script, just execute it directly" 1>&2
|
echo "Please do not use sh to run this script, just execute it directly" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user