Discussion:
[edk2] [Patch] BaseTools: Fix BinWrappers LzmaF86Compress Script
Liming Gao
2015-07-09 12:56:39 UTC
Permalink
From: Liming <***@intel.com>

LzmaF86Compress Script should use $arg to arg value.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <***@intel.com>
---
BaseTools/BinWrappers/PosixLike/LzmaF86Compress | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BaseTools/BinWrappers/PosixLike/LzmaF86Compress b/BaseTools/BinWrappers/PosixLike/LzmaF86Compress
index c3e49cf..18946a4 100755
--- a/BaseTools/BinWrappers/PosixLike/LzmaF86Compress
+++ b/BaseTools/BinWrappers/PosixLike/LzmaF86Compress
@@ -11,11 +11,11 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#

for arg in $*; do
- if [ "arg" = "-e" -o "arg" = "-d" ]; then
+ if [ "$arg" = "-e" -o "$arg" = "-d" ]; then
FLAG=--f86
break;
fi
done
--
1.9.5.msysgit.0
Laszlo Ersek
2015-07-09 13:20:31 UTC
Permalink
Post by Liming Gao
LzmaF86Compress Script should use $arg to arg value.
Contributed-under: TianoCore Contribution Agreement 1.0
---
BaseTools/BinWrappers/PosixLike/LzmaF86Compress | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BaseTools/BinWrappers/PosixLike/LzmaF86Compress b/BaseTools/BinWrappers/PosixLike/LzmaF86Compress
index c3e49cf..18946a4 100755
--- a/BaseTools/BinWrappers/PosixLike/LzmaF86Compress
+++ b/BaseTools/BinWrappers/PosixLike/LzmaF86Compress
@@ -11,11 +11,11 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
for arg in $*; do
- if [ "arg" = "-e" -o "arg" = "-d" ]; then
+ if [ "$arg" = "-e" -o "$arg" = "-d" ]; then
FLAG=--f86
break;
fi
done
Reviewed-by: Laszlo Ersek <***@redhat.com>

Loading...