summaryrefslogtreecommitdiff
path: root/apps/ci
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ci')
-rw-r--r--apps/ci/ci-pending-sql.sh6
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