]> git.proxmox.com Git - mirror_edk2.git/commitdiff
edksetup.sh: when executing arithmetic commands, $ isn't needed
authorrebecca@bsdio.com <rebecca@bsdio.com>
Tue, 16 Jul 2019 16:55:35 +0000 (10:55 -0600)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 23 Jul 2019 08:41:55 +0000 (10:41 +0200)
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Message-Id: <20190716165538.57960-3-rebecca@bsdio.com>

edksetup.sh

index 752e47e7cb569ece6b26371eb57db1d7d6308bb9..76c8d7916e3104ab04a64a83e5de533cd211ccd7 100755 (executable)
@@ -199,7 +199,7 @@ do
       break
     ;;
   esac
-  I=$(($I - 1))
+  I=$((I - 1))
 done
 
 if [ $I -gt 0 ]