From f8db17a78d370ee656e1c16c94fe4eaa74427c28 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 14 Jun 2024 10:13:13 +0200 Subject: [slx-addons] find: Use "\!" instead of "-not" for busybox compat --- modules.d/slx-addons/hooks/s3-setup-addons.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/slx-addons/hooks/s3-setup-addons.sh b/modules.d/slx-addons/hooks/s3-setup-addons.sh index 2dcb364c..5e3369fe 100755 --- a/modules.d/slx-addons/hooks/s3-setup-addons.sh +++ b/modules.d/slx-addons/hooks/s3-setup-addons.sh @@ -69,7 +69,7 @@ setup_addon() { # but I've no idea if there'd be an adverse effect if we had a lot more files # to move and we'd spawn thousands of mv processes in parallel... mv -f -- "$entry" "${NEWROOT}/${entry}" & - done < <( find . -not -type d ) # do it this way so we don't end up with a pipe-subshell + done < <( find . \! -type d ) # do it this way so we don't end up with a pipe-subshell wait # and can properly wait for all the mv processes. # post merge: remove files marked as whiteouts -- cgit v1.2.3-55-g7522