projects
/
debugedit.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce878ae
)
Use [ ] in condition to avoid sub processes in find-debuginfo.sh (#735)
author
Pavlina Moravcova Varekova <pmoravco@redhat.com>
Wed, 5 Jun 2019 04:07:00 +0000
(06:07 +0200)
committer
Panu Matilainen <pmatilai@redhat.com>
Wed, 5 Jun 2019 09:06:15 +0000
(12:06 +0300)
Introduced in commit
d0ee451
, spotted by covscan.
scripts/find-debuginfo.sh
patch
|
blob
|
history
diff --git
a/scripts/find-debuginfo.sh
b/scripts/find-debuginfo.sh
index 23286139e695f900f884f8930a94a3f09e9514aa..d75da1108a94e2133a31d4949baed2dc399d85f9 100755
(executable)
--- 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" -a "$strip_glibs" = "true" ]
; then
echo >&2 "*** ERROR: -g and --g-libs cannot be used together"
exit 2
fi
This page took
0.05974 seconds
and
5
git commands to generate.