summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2017-01-17 12:21:48 +0200
committerPanu Matilainen <pmatilai@redhat.com>2017-02-16 11:54:14 +0200
commite23c982bc6b86d76edd1211829c41ccde614a154 (patch)
tree0241bfadf8714a06ae05b1598d0d236109a7a183
parent31d94cfc1313da17938332d614d937a9078ce835 (diff)
downloadrpm-e23c982bc6b86d76edd1211829c41ccde614a154.tar.gz
Resurrect GDB index generation (RhBug:1410907)
Commit 54d30ac4a344770571e56c60281a9130b61c1788 broke GDB index generation due to a leftover "[". In git master this got fixed in commit 67d3df338875ad5d9601e360bfdbd4289f271bc1 but we don't want that on 4.13.x because there are behavior changes involved, so fixing this specifically on the 4.13.x branch.
-rw-r--r--scripts/find-debuginfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
index a70ef3c99..4293261c9 100644
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
@@ -312,7 +312,7 @@ while read nlinks inum f; do
$strict && exit 2
fi
- [ type gdb-add-index >/dev/null 2>&1 && gdb-add-index "$f" > /dev/null 2>&1
+ type gdb-add-index >/dev/null 2>&1 && gdb-add-index "$f" > /dev/null 2>&1
# A binary already copied into /usr/lib/debug doesn't get stripped,
# just has its file names collected and adjusted.