mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-27 05:08:35 -06:00
Fix working directory detection
This commit is contained in:
parent
2e2a8cf451
commit
7162d6bcd2
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ if [[ $flag == false && "$2" != "force" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Download required apk files
|
# Download required apk files
|
||||||
$ODIR/download_apkmirror.sh "$WDIR"
|
/bin/bash "$ODIR/download_apkmirror.sh" "$WDIR"
|
||||||
|
|
||||||
# Fetch microG
|
# Fetch microG
|
||||||
chmod +x apkeep
|
chmod +x apkeep
|
||||||
|
|
|
@ -81,7 +81,7 @@ dl_ytm() {
|
||||||
|
|
||||||
# Get into the build directory
|
# Get into the build directory
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -d "$1" ]; then
|
||||||
cd "$1"
|
cd "$1"
|
||||||
else
|
else
|
||||||
echo "Working directory not provided"
|
echo "Working directory not provided"
|
||||||
|
|
Loading…
Reference in a new issue