mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2025-02-05 22:22:35 -06:00
Make sure to work in the script directory
This commit is contained in:
parent
20cfc90404
commit
4e6544796a
1 changed files with 4 additions and 2 deletions
|
@ -17,7 +17,9 @@ else
|
|||
exit -1
|
||||
fi
|
||||
|
||||
ODIR="$PWD"
|
||||
# Make sure to work in the script directory
|
||||
SDIR="$(dirname -- "$( readlink -f -- "$0"; )";)"
|
||||
cd "$SDIR"
|
||||
|
||||
# Get line numbers where included & excluded patches start from.
|
||||
# We rely on the hardcoded messages to get the line numbers using grep
|
||||
|
@ -104,7 +106,7 @@ if [[ $flag == false && "$2" != "force" ]]; then
|
|||
fi
|
||||
|
||||
# Download required apk files
|
||||
/bin/bash "$ODIR/download_apkmirror.sh" "$WDIR"
|
||||
"$SDIR/download_apkmirror.sh" "$WDIR"
|
||||
|
||||
# Fetch microG
|
||||
chmod +x apkeep
|
||||
|
|
Loading…
Reference in a new issue