diff --git a/apps/db_pendings/import.sh b/apps/db_pendings/import.sh index 8879482fc..3abf53ce6 100644 --- a/apps/db_pendings/import.sh +++ b/apps/db_pendings/import.sh @@ -30,7 +30,7 @@ function import() { oldDate=${dateLast%_$tmp} if [ "$oldDate" = "$dateToday" ]; then - ((counter=$oldCnt+1)) + ((counter=10#$oldCnt+1)) # 10 # is needed to explictly add to a base 10 number fi; for entry in "$pendingPath"/*.sql