Add file only type in config.sh find
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user