replace obsoleted "find -perm +NNN" syntax 32/31232/3
authorChanho Park <chanho61.park@samsung.com>
Wed, 3 Dec 2014 01:15:37 +0000 (10:15 +0900)
committerChanho Park <chanho61.park@samsung.com>
Wed, 3 Dec 2014 10:50:56 +0000 (19:50 +0900)
commit3ef23ff0bfc2ac3cfe81148655bfcd028edb1400
tree9aa2152956acb3dd37a4b966e1227b84a49266a2
parentd962be480686977a9573650fe4b05c477d5d0eea
replace obsoleted "find -perm +NNN" syntax

This patch is required when we use findutils-4.5.14 version. When we
tried to upgrade the findutils to 4.5.14 version, I've got below error
because the version of findutils obsoleted "find -perm +NNN".

[  146s] find: invalid mode '+111'
[  146s] error: Bad exit status from /var/tmp/rpm-tmp.5tcK7o (%install)

I picked up this patch from openSUSE[1] to solve this problem.

Origin: mail@bernhard-voelker.de

- replace obsoleted "find -perm +NNN" syntax [bnc#842004]
  to "-perm /NNN" in debugsource-package.diff and
  finddebuginfo.diff.

[1]: https://build.opensuse.org/request/show/200349

Change-Id: I38394427e4a806111550ad8ee560a448dd7a7307
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
scripts/find-debuginfo.sh