commit db8cc81d4068726c4902a3b482171e81a315febc
parent 10f5988e19dc4053fbbb5a161d779b4a1cc1ee81
Author: hhvn <dev@hhvn.uk>
Date: Thu, 23 Dec 2021 22:55:19 +0000
.l/r/install.sh: mindepth
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/rootfiles/install.sh b/.local/rootfiles/install.sh
@@ -28,7 +28,7 @@ _envsubst(){
# - variable doesn't persist after leaving the loop
}
-dirs=$(find . -type d)
+dirs=$(find . -mindepth 1 -type d)
files=$(find . -mindepth 2 -type f)
export IFS=$(printf '\n\t')