From b42b4e6b2a289bd7cd034f48ed3fb6c1421a8437 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 10 2020 05:39:05 +0000 Subject: Apply patch 0001-Use-in-condition-to-avoid-sub-processes-in-find-debu.patch patch_name: 0001-Use-in-condition-to-avoid-sub-processes-in-find-debu.patch present_in_specfile: true location_in_specfile: 14 --- diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh index fa6375c..59e43fe 100755 --- a/scripts/find-debuginfo.sh +++ b/scripts/find-debuginfo.sh @@ -213,7 +213,7 @@ if test -n "$build_id_seed" -a "$no_recompute_build_id" = "true"; then exit 2 fi -if ("$strip_g" = "true") && ("$strip_glibs" = "true"); then +if [ "$strip_g" = "true" ] && [ "$strip_glibs" = "true" ]; then echo >&2 "*** ERROR: -g and --g-libs cannot be used together" exit 2 fi