Skip to content

A platform for community discussion. Free, open, simple.

Replace `-depth` -> `-maxdepth` in boot_dev (#14046)

Jacob Mischkaf9247dabccc4
diff --git a/bin/docker/boot_dev b/bin/docker/boot_dev
index 52b6353809e..3809f0700bc 100755
--- a/bin/docker/boot_dev
+++ b/bin/docker/boot_dev
@@ -73,7 +73,7 @@ echo "Using data in: ${DATA_DIR}"
mkdir -p "${DATA_DIR}"
mount_plugin_symlinks=""
-for symlink in $(find $PLUGINS_DIR -depth 1 -type l); do
+for symlink in $(find $PLUGINS_DIR -maxdepth 1 -type l); do
# `readlink -f` doesn't work on macOS, to fix it you need to override the `readlink` with `greadlink`
# > brew install coreutils
# > ln -s "$(which greadlink)" "$(dirname "$(which greadlink)")/readlink"