chantra / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
9527e8
--- rpm-4.11.3/scripts/find-debuginfo.sh.old	2019-07-26 10:03:50.390264038 +0200
9527e8
+++ rpm-4.11.3/scripts/find-debuginfo.sh	2019-07-26 10:24:12.540154792 +0200
9527e8
@@ -109,7 +109,7 @@
9527e8
   shift
9527e8
 done
9527e8
 
9527e8
-if ("$strip_g" = "true") && ("$strip_glibs" = "true"); then
9527e8
+if [ "$strip_g" = "true" ] && [ "$strip_glibs" = "true" ]; then
9527e8
   echo >&2 "*** ERROR: -g  and --g-libs cannot be used together"
9527e8
   exit 2
9527e8
 fi