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