diff options
| author | ShinDarth <borzifrancesco@gmail.com> | 2016-10-23 13:13:16 +0200 |
|---|---|---|
| committer | ShinDarth <borzifrancesco@gmail.com> | 2016-10-23 13:13:16 +0200 |
| commit | 47d1ee4f559fc3e98f708ad32717dcd39d032ba7 (patch) | |
| tree | 74dcbe3b7443f752862ac0d70ab1cf8e13f55715 | |
| parent | 908abe4139ab64e67bc6c604f6062884b26fc618 (diff) | |
Bin: fix db_pendings import.sh script
| -rwxr-xr-x | bin/db_pendings/import.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db_pendings/import.sh b/bin/db_pendings/import.sh index 5ee63a0f65..9a059b6f5a 100755 --- a/bin/db_pendings/import.sh +++ b/bin/db_pendings/import.sh @@ -12,7 +12,7 @@ function import() { pendingPath="$AC_PATH_ROOT/data/sql/updates/pending_$folder" updPath="$UPDATES_PATH/$folder" - latestUpd=`ls $updPath/ -1 | tail -n 1` + latestUpd=`ls -1 $updPath/ | tail -n 1` if [ -z $latestUpd ]; then echo "FIRST UPDATE FILE MISSING!! DID YOU ARCHIVED IT?"; |
