[edk2-devel] [PATCH 3/6] edksetup.sh: when executing arithmetic commands, $ isn't needed

rebecca at bsdio.com rebecca at bsdio.com
Mon Jul 15 22:25:13 UTC 2019


Signed-off-by: Rebecca Cran <rebecca at bsdio.com>
---
 edksetup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/edksetup.sh b/edksetup.sh
index 752e47e7cb..76c8d7916e 100755
--- a/edksetup.sh
+++ b/edksetup.sh
@@ -199,7 +199,7 @@ do
       break
     ;;
   esac
-  I=$(($I - 1))
+  I=$((I - 1))
 done
 
 if [ $I -gt 0 ]
-- 
2.22.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43745): https://edk2.groups.io/g/devel/message/43745
Mute This Topic: https://groups.io/mt/32483825/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list