summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-addons/hooks/s3-setup-addons.sh
diff options
context:
space:
mode:
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