Browse Source

edksetup.sh: when executing arithmetic commands, $ isn't needed

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>
rebecca@bsdio.com 4 years ago
parent
commit
11e5fc6601
1 changed files with 1 additions and 1 deletions
  1. 1 1
      edksetup.sh

+ 1 - 1
edksetup.sh

@@ -199,7 +199,7 @@ do
       break
     ;;
   esac
-  I=$(($I - 1))
+  I=$((I - 1))
 done
 
 if [ $I -gt 0 ]