Skip to content

Commit

Permalink
typo in sed again
Browse files Browse the repository at this point in the history
  • Loading branch information
tomich committed May 20, 2024
1 parent b3e9a90 commit aa757d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ config_react(){

DOWNLOAD_DOMAIN=$(echo $API_HOMEPAGE|awk -F'://' '{print $2}')
sed -z -E -i "s/(dexare:.*token:\s*)('')(.*applicationID:\s*)('')(.*downloadDomain:\s*)('localhost:5029')/\
\1'$DISCORD_BOT_TOKEN'\3'$DISCORD_APP_ID'\3'$DOWNLOAD_DOMAIN'/"\
\1'$DISCORD_BOT_TOKEN'\3'$DISCORD_APP_ID'\5'$DOWNLOAD_DOMAIN'/"\
"$craig_dir/apps/bot/config/default.js"


Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ config_react(){
# ----------------------------
DOWNLOAD_DOMAIN=$(echo $API_HOMEPAGE|awk -F'://' '{print $2}')
sed -z -E -i "s/(dexare:.*token:\s*)('')(.*applicationID:\s*)('')(.*downloadDomain:\s*)('localhost:5029')/\
\1'$DISCORD_BOT_TOKEN'\3'$DISCORD_APP_ID'\3'$DOWNLOAD_DOMAIN'/"\
\1'$DISCORD_BOT_TOKEN'\3'$DISCORD_APP_ID'\5'$DOWNLOAD_DOMAIN'/"\
"$craig_dir/apps/bot/config/default.js"


Expand Down

0 comments on commit aa757d7

Please sign in to comment.