fix(CI/Misc): Make CodeFactor happy (#10468)
This commit is contained in:
parent
4c5aceedbd
commit
6f20b9ece7
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue