From 406e57a325d56277a85eebd6a3c38897311f7a34 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Tue, 28 Jan 2020 00:04:55 +0100 Subject: [PATCH] Add file only type in config.sh find --- .scripts/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/config.sh b/.scripts/config.sh index 941795f..3398f5f 100755 --- a/.scripts/config.sh +++ b/.scripts/config.sh @@ -51,7 +51,7 @@ done EXCLUDE_STRING=${EXCLUDE_STRING%???} # Find the files -FILES="$( (find . \( $EXCLUDE_STRING \) -prune -o -printf '%P\n'; echo "$INCLUDES") \ +FILES="$( (find . \( $EXCLUDE_STRING \) -prune -o -type f -printf '%P\n'; echo "$INCLUDES") \ | grep -vx "" | sort)" # If no name provided