Skip to content

Commit

Permalink
fixed insert error for token containing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
MRColorR authored Feb 5, 2023
1 parent a68f527 commit 57814f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ fn_setupApp(){
printf "Enter your %s Token."$'\n' "$1"
printf "You can find it going in your dashboard https://app.traffmonetizer.com/dashboard then -> Look for Your application token -> just insert it here (you can also copy and then paste it)"$'\n'
read -r APP_TOKEN
sed -i "s/your$1Token/$APP_TOKEN/" .env
sed -i "s^your$1Token^$APP_TOKEN^" .env
elif [ "$3" == "customScript" ] ; then
chmod u+x $4;
sudo sh -c $4;
Expand Down

0 comments on commit 57814f7

Please sign in to comment.