Fix working directory detection

This commit is contained in:
Sayantan Santra 2022-10-11 20:33:46 -05:00
parent 2e2a8cf451
commit 7162d6bcd2
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ if [[ $flag == false && "$2" != "force" ]]; then
fi
# Download required apk files
$ODIR/download_apkmirror.sh "$WDIR"
/bin/bash "$ODIR/download_apkmirror.sh" "$WDIR"
# Fetch microG
chmod +x apkeep

View file

@ -81,7 +81,7 @@ dl_ytm() {
# Get into the build directory
if [ -z "$1" ]; then
if [ -d "$1" ]; then
cd "$1"
else
echo "Working directory not provided"