From: Harald Hoyer Date: Thu, 22 Jan 2015 15:00:50 +0000 (+0100) Subject: test/TEST-04-FULL-SYSTEMD/test.sh: fix the find -perm X-Git-Tag: 041~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a5a7fb6627805354eddd2ad5364a44804bcc25c;p=thirdparty%2Fdracut.git test/TEST-04-FULL-SYSTEMD/test.sh: fix the find -perm "find -perm +111" should be "find -perm /0111" as it is deprecated since a long time --- diff --git a/test/TEST-04-FULL-SYSTEMD/test.sh b/test/TEST-04-FULL-SYSTEMD/test.sh index 1ff0f0581..b14d540e3 100755 --- a/test/TEST-04-FULL-SYSTEMD/test.sh +++ b/test/TEST-04-FULL-SYSTEMD/test.sh @@ -191,7 +191,7 @@ EOF # softlink mtab ln -fs /proc/self/mounts $initdir/etc/mtab - # install any Exec's from the service files + # install any Execs from the service files egrep -ho '^Exec[^ ]*=[^ ]+' $initdir/lib/systemd/system/*.service \ | while read i; do i=${i##Exec*=}; i=${i##-} @@ -205,7 +205,7 @@ EOF cp -a /etc/ld.so.conf* $initdir/etc ldconfig -r "$initdir" ddebug "Strip binaeries" - find "$initdir" -perm +111 -type f | xargs -r strip --strip-unneeded | ddebug + find "$initdir" -perm /0111 -type f | xargs -r strip --strip-unneeded | ddebug # copy depmod files inst /lib/modules/$kernel/modules.order