Add file only type in config.sh find

This commit is contained in:
Riyyi
2020-01-28 00:04:55 +01:00
parent 1636de73b7
commit 406e57a325
+1 -1
View File
@@ -51,7 +51,7 @@ done
EXCLUDE_STRING=${EXCLUDE_STRING%???} EXCLUDE_STRING=${EXCLUDE_STRING%???}
# Find the files # 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)" | grep -vx "" | sort)"
# If no name provided # If no name provided