diff options
author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2022-02-01 05:56:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 01:56:10 -0300 |
commit | 6f20b9ece71984f1a11469e65ede8accda05653e (patch) | |
tree | c5adf7abf38a731bb8e02c19e1edc74c53ae37d7 /apps/ci | |
parent | 4c5aceedbd0a9fc921ebc9f725624301c26b0c89 (diff) |
fix(CI/Misc): Make CodeFactor happy (#10468)
Diffstat (limited to 'apps/ci')
-rw-r--r-- | apps/ci/ci-pending-sql.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/ci/ci-pending-sql.sh b/apps/ci/ci-pending-sql.sh index 23fcec4fa1..22c41e02e0 100644 --- a/apps/ci/ci-pending-sql.sh +++ b/apps/ci/ci-pending-sql.sh @@ -15,14 +15,14 @@ function import() { updPath="$UPDATES_PATH/$folder" archivedPath="$AC_PATH_ROOT/data/sql/archive/$folder/5.x" - latestUpd=`ls -1 $updPath/ | tail -n 1` + latestUpd=$(ls -1 $updPath/ | tail -n 1) if [ -z $latestUpd ]; then - latestUpd=`ls -1 $archivedPath/ | tail -n 1` + latestUpd=$(ls -1 $archivedPath/ | tail -n 1) echo "> Last update file for db $db is missing! Using archived file" $latestUpd fi - dateToday=`date +%Y_%m_%d` + dateToday=$(date +%Y_%m_%d) counter=0 dateLast=$latestUpd |