Skip to content

Commit

Permalink
typo in sed
Browse files Browse the repository at this point in the history
  • Loading branch information
tomich committed May 20, 2024
1 parent 7c63f10 commit b3e9a90
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 @@ -330,7 +330,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')//\
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'/"\
"$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 @@ -386,7 +386,7 @@ config_react(){
# applicationID: '',
# ----------------------------
DOWNLOAD_DOMAIN=$(echo $API_HOMEPAGE|awk -F'://' '{print $2}')
sed -z -E -i "s/(dexare:.*token:\s*)('')(.*applicationID:\s*)('')(.*downloadDomain:\s*)('localhost:5029')//\
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'/"\
"$craig_dir/apps/bot/config/default.js"

Expand Down

0 comments on commit b3e9a90

Please sign in to comment.