Merge "allow rpm to custom systemd installation" into tizen
authorStéphane Desneux (sdx) <stephane.desneux@open.eurogiciel.org>
Wed, 3 Dec 2014 13:46:12 +0000 (05:46 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 3 Dec 2014 13:46:12 +0000 (05:46 -0800)
scripts/find-debuginfo.sh

index c73f06b..efcc72e 100644 (file)
@@ -237,7 +237,7 @@ strict_error=ERROR
 $strict || strict_error=WARNING
 
 # Strip ELF binaries (and no static libraries)
-find $RPM_BUILD_ROOT ! -path "${debugdir}/*.debug" -type f \( -perm +111 -or -name "*.so*" -or -name "*.ko" \) ! -name "*.a" -print0 | sort -z |
+find $RPM_BUILD_ROOT ! -path "${debugdir}/*.debug" -type f \( -perm /111 -or -name "*.so*" -or -name "*.ko" \) ! -name "*.a" -print0 | sort -z |
 xargs --no-run-if-empty -0 stat -c '%h %D_%i %n' |
 while read nlinks inum f; do
   case $(objdump -h $f 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in