Actually fix scripts

This commit is contained in:
Sotr
2020-04-13 21:40:08 +07:00
parent 75f7fd17cb
commit df40958a45
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
maintask=$2
if [ $maintask == "0" ]; then
if [[ $maintask == "0" ]]; then
TASKTITLE="Import Sources"
else
TASKTITLE="Import Sources (Subtask)"
@@ -120,7 +120,7 @@ done
echo -e "Extra dev imports of Akarin:\n\n$IMPORT_LOG" | git commit src -F - &> /dev/null
echo " $(bashcolor 1 32)Succeed$(bashcolorend) - Sources have been imported to Paper/Paper-Server"
if [ $maintask != "0" ]; then # this is magical
if [[ $maintask != "0" ]]; then # this is magical
echo "----------------------------------------"
echo " Subtask finished"
echo "----------------------------------------"