Skip to content

Commit

Permalink
move working dir to user
Browse files Browse the repository at this point in the history
  • Loading branch information
buihien224 committed Oct 5, 2021
1 parent 8ddb760 commit 64de48f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hungsvvl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ bhlnk="https://github.com/buihien224/host/raw/main/dynamic1.zip"
scpt="tmp/META-INF/com/google/android/updater-script"

#####
user=$(whoami)
cd ~/
cd "$user"
pwd=$(pwd)
echo -e "\e[1;33mGenerate GSI Flashing Template @bhlnk \e[0m"
sleep 0.5
Expand Down Expand Up @@ -48,7 +50,7 @@ then
else
echo
echo -e "\e[1;31mCopy system.img to\e[0m"
echo -e "\e[1;31mHome\e[0m"
echo -e "\e[1;31m home/"$user"\e[0m"
echo -e "\e[1;31mThen run this script again\e[0m"
fi

Expand Down

0 comments on commit 64de48f

Please sign in to comment.