mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user