diff --git a/scripts/brp-verify_elf.in b/scripts/brp-verify_elf.in index e4cf4da..1fcd789 100755 --- a/scripts/brp-verify_elf.in +++ b/scripts/brp-verify_elf.in @@ -64,7 +64,9 @@ for t in `printf %s "$RPM_VERIFY_ELF_METHOD" |tr , ' '`; do done [ "$VERIFY_ELF_RPATH" != no ] || VERIFY_ELF_RPATH= +[ -z "$RPM_VERIFY_ELF_RPATH" ] || VERIFY_ELF_RPATH="$RPM_VERIFY_ELF_RPATH" [ "$VERIFY_ELF_TEXTREL" != no ] || VERIFY_ELF_TEXTREL= +[ -z "$RPM_VERIFY_ELF_TEXTREL" ] || VERIFY_ELF_TEXTREL="$RPM_VERIFY_ELF_TEXTREL" : ${RPM_VERIFY_ELF_TOPDIR:=} [ -d "$RPM_BUILD_ROOT$RPM_VERIFY_ELF_TOPDIR" ] || exit 0