From a8bfe5462ea6bb786c6b20d7a1d37d5aebf3e57e Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 29 May 2019 22:06:17 -0400 Subject: [PATCH] Fix SC2004 $/${} unnecessary on arithmetic vars Change-Id: Id068d46b56d6c5c1555b2d95f04f39f465ff573c Signed-off-by: Thanh Ha --- jjb/integration/common-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/integration/common-functions.sh b/jjb/integration/common-functions.sh index 8cdbc0b75..d4173f2c6 100644 --- a/jjb/integration/common-functions.sh +++ b/jjb/integration/common-functions.sh @@ -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 -- 2.36.6