Fix SC2004 $/${} unnecessary on arithmetic vars
[releng/builder.git] / jjb / integration / common-functions.sh
index 8cdbc0b7525bfbb12268e56d381343feeadad4fe..d4173f2c6368969c4c78dcf1e0637938d828c603 100644 (file)
@@ -919,7 +919,7 @@ function copy_and_run_post_startup_script() {
         echo "Execute the post startup script on controller ${!CONTROLLERIP}"
         scp ${WORKSPACE}/post-startup-script.sh ${!CONTROLLERIP}:/tmp
         ssh ${!CONTROLLERIP} "bash /tmp/post-startup-script.sh $(( seed_index++ ))"
-        if [ $(( $i % ${NUM_ODL_SYSTEM} )) == 0 ]; then
+        if [ $(( i % NUM_ODL_SYSTEM )) == 0 ]; then
             seed_index=1
         fi
     done