summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-addons/hooks/s3-setup-addons.sh
diff options
context:
space:
mode:
authorSimon Rettberg2024-06-14 10:13:13 +0200
committerSimon Rettberg2024-06-14 10:13:13 +0200
commitf8db17a78d370ee656e1c16c94fe4eaa74427c28 (patch)
tree7c4619d6886c36784aa7dbc17935486e8272dd34 /modules.d/slx-addons/hooks/s3-setup-addons.sh
parent[slx-dmsetup] Fix another busybox mktemp call (diff)
downloadsystemd-init-f8db17a78d370ee656e1c16c94fe4eaa74427c28.tar.gz
systemd-init-f8db17a78d370ee656e1c16c94fe4eaa74427c28.tar.xz
systemd-init-f8db17a78d370ee656e1c16c94fe4eaa74427c28.zip
[slx-addons] find: Use "\!" instead of "-not" for busybox compat
Diffstat (limited to 'modules.d/slx-addons/hooks/s3-setup-addons.sh')
-rwxr-xr-xmodules.d/slx-addons/hooks/s3-setup-addons.sh2
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