Fix: pipeline error after 8 pending sql
bash thinks that 08 is a hex number, so we have to cast the base More info here: https://stackoverflow.com/questions/24777597/value-too-great-for-base-error-token-is-08
This commit is contained in:
parent
75569dd824
commit
d88e14be4e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user