echo must have -e to interp \x1B

This commit is contained in:
HackerNCoder 2023-12-18 03:44:25 +01:00
parent 3c24ff63e5
commit f60e54dc90

View file

@ -25,23 +25,23 @@ done
if (( ${#filesToDo[@]} > 0 )); then if (( ${#filesToDo[@]} > 0 )); then
echo echo
echo "\x1B[36m---------------------" echo -e "\x1B[36m---------------------"
echo "| INSTALLING |" echo "| INSTALLING |"
echo "---------------------\x1B[0m" echo -e "---------------------\x1B[0m"
echo echo
apt-get install --no-install-recommends -y git ca-certificates python3 libgl1 zip apt-get install --no-install-recommends -y git ca-certificates python3 libgl1 zip
echo echo
echo "\x1B[36m---------------------" echo -e "\x1B[36m---------------------"
echo "| CLONING |" echo "| CLONING |"
echo "---------------------\x1B[0m" echo -e "---------------------\x1B[0m"
echo echo
git clone https://lab.encryptionin.space/Queerscriptors/rttk-queerscriptors.git git clone https://lab.encryptionin.space/Queerscriptors/rttk-queerscriptors.git
git clone https://lab.encryptionin.space/Queerscriptors/renpy.git git clone https://lab.encryptionin.space/Queerscriptors/renpy.git
git clone -b game ${CI_REPO_REMOTE} ./game-source git clone -b game ${CI_REPO_REMOTE} ./game-source
echo echo
echo "\x1B[36m--------------------" echo -e "\x1B[36m--------------------"
echo "| BUILDING |" echo "| BUILDING |"
echo "--------------------\x1B[0m" echo -e "--------------------\x1B[0m"
echo echo
for file in filesToDo; do for file in filesToDo; do
file2=${file%.po} file2=${file%.po}
@ -63,9 +63,9 @@ if (( ${#filesToDo[@]} > 0 )); then
echo echo
done done
echo echo
echo "\x1B[36m--------------------" echo -e "\x1B[36m--------------------"
echo "| DONE |" echo "| DONE |"
echo "--------------------\x1B[0m" echo -e "--------------------\x1B[0m"
echo echo
else else
echo -e "\x1B[36mNothing to do\x1B[0m" echo -e "\x1B[36mNothing to do\x1B[0m"