From 2a5a7fb6627805354eddd2ad5364a44804bcc25c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 22 Jan 2015 16:00:50 +0100 Subject: [PATCH] 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 --- test/TEST-04-FULL-SYSTEMD/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/TEST-04-FULL-SYSTEMD/test.sh b/test/TEST-04-FULL-SYSTEMD/test.sh index 1ff0f058..b14d540e 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