diff options
-rwxr-xr-x | bin/misc-functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 369823793..5854de9b6 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -170,9 +170,13 @@ install_qa_check() { sed -e "s#^${x#/}\$##" -i "${T}"/scanelf-ignored-LDFLAGS.log done else + local shopts=$- + set -o noglob for x in ${QA_DT_HASH} ; do sed -e "s#^${x#/}\$##" -i "${T}"/scanelf-ignored-LDFLAGS.log done + set +o noglob + set -${shopts} fi fi sed -e "/^\$/d" -e "s#^#/#" -i "${T}"/scanelf-ignored-LDFLAGS.log |