Skip to content

Commit

Permalink
explictly convert integer string to a decimal value
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Oct 23, 2024
1 parent 77aaa5f commit bd0a6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/digifeeds/upload_to_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ verify_image_order(){
for arg in "${sorted[@]}"; do
cnt=$((cnt+1))
int=${arg:0:8}
[ $((int)) != $cnt ] && return 1
[ $((10#$int)) != $cnt ] && return 1
done
return 0
}
Expand Down

0 comments on commit bd0a6c1

Please sign in to comment.