Skip to content

Commit

Permalink
Fix 'The surrounding quotes actually unquote this. Remove or escape t…
Browse files Browse the repository at this point in the history
…hem.' issue in build.sh Fixes #25
  • Loading branch information
jebediah47 committed Dec 9, 2021
1 parent a3863cc commit 7964f5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ FILE_EXISTS="file exists, ignoring."
DIR_EXISTS="directory exists, ignoring."

if test -d "$SRC"; then
echo ""$SRC", $DIR_EXISTS"
echo "$SRC, $DIR_EXISTS"
else
cp -r src /root/galactica-bot/
fi

if test -f "$TSCONFIG"; then
echo ""$TSCONFIG", $FILE_EXISTS"
echo "$TSCONFIG, $FILE_EXISTS"
else
cp tsconfig.json /root/galactica-bot/
fi

if test -f "$CONFIG"; then
echo ""$CONFIG", $FILE_EXISTS"
echo "$CONFIG, $FILE_EXISTS"
else
cp config.json /root/galactica-bot/
fi

if test -f "$PACKAGE"; then
echo ""$PACKAGE", $FILE_EXISTS"
echo "$PACKAGE, $FILE_EXISTS"
else
cp package.json /root/galactica-bot/
fi
Expand Down

0 comments on commit 7964f5b

Please sign in to comment.