diff options
author | biao716.wang <biao716.wang@samsung.com> | 2021-01-05 14:51:28 +0900 |
---|---|---|
committer | biao716.wang <biao716.wang@samsung.com> | 2021-01-05 14:51:28 +0900 |
commit | 9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a (patch) | |
tree | 03067d36d530c3eeb623e601b0c12a98f744376d /scripts/debuginfo.prov | |
parent | 287097d4d8079b4485870c08cf5675b0bdd37ed9 (diff) | |
download | rpm-9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a.tar.gz rpm-9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a.tar.bz2 rpm-9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a.zip |
upgrade rpm version to 4.14.1upstream/4.14.1.1submit/tizen_base/20210113.025730submit/tizen_base/20210105.160930accepted/tizen/base/tool/20210118.215949
Change-Id: Iab5438d6e4d45c937b191c03e9ef5dd3fad165c8
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Diffstat (limited to 'scripts/debuginfo.prov')
-rwxr-xr-x[-rw-r--r--] | scripts/debuginfo.prov | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/scripts/debuginfo.prov b/scripts/debuginfo.prov index 4d99257a3..a8636c976 100644..100755 --- a/scripts/debuginfo.prov +++ b/scripts/debuginfo.prov @@ -1,12 +1,14 @@ #!/bin/sh -while read instfile ; do - case $instfile in - */usr/lib/debug/.build-id/*.debug) - if [ -f "$instfile" ] ; then - BUILDID=$(echo $instfile | sed -ne 's|.*/usr/lib/debug/.build-id/\([0-9a-f]*\)/\([0-9a-f]*\)\.debug|\1\2|p') - echo "debuginfo(build-id) = $BUILDID" - fi - ;; - esac +while read instfile; do + case "$instfile" in + */usr/lib/debug/.build-id/*.debug) + if [ -f "$instfile" ]; then + BUILDID=$(echo "$instfile" | sed -ne 's|.*/usr/lib/debug/.build-id/\([0-9a-f]\+\)/\([0-9a-f]\+\)\.debug|\1\2|p') + if [ -n "$BUILDID" ]; then + echo "debuginfo(build-id) = $BUILDID" + fi + fi + ;; + esac done |