diff options
author | Simon Rettberg | 2024-06-14 10:13:13 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-14 10:13:13 +0200 |
commit | f8db17a78d370ee656e1c16c94fe4eaa74427c28 (patch) | |
tree | 7c4619d6886c36784aa7dbc17935486e8272dd34 | |
parent | [slx-dmsetup] Fix another busybox mktemp call (diff) | |
download | systemd-init-f8db17a78d370ee656e1c16c94fe4eaa74427c28.tar.gz systemd-init-f8db17a78d370ee656e1c16c94fe4eaa74427c28.tar.xz systemd-init-f8db17a78d370ee656e1c16c94fe4eaa74427c28.zip |
[slx-addons] find: Use "\!" instead of "-not" for busybox compat
-rwxr-xr-x | modules.d/slx-addons/hooks/s3-setup-addons.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |