aboutsummaryrefslogtreecommitdiffstats
path: root/brp-mangle-shebangs
diff options
context:
space:
mode:
Diffstat (limited to 'brp-mangle-shebangs')
-rwxr-xr-xbrp-mangle-shebangs2
1 files changed, 1 insertions, 1 deletions
diff --git a/brp-mangle-shebangs b/brp-mangle-shebangs
index ef85ee4..ab7af60 100755
--- a/brp-mangle-shebangs
+++ b/brp-mangle-shebangs
@@ -76,7 +76,7 @@ cd "$RPM_BUILD_ROOT"
# (Take care to exclude filenames which would mangle "file" output).
find -executable -type f ! -path '*:*' ! -path $'*\n*' \
| file -N --mime-type -f - \
-| grep -P ".+(?=: text/)" \
+| grep -P ".+(?=: (text/|application/javascript))" \
| {
fail=0
while IFS= read -r line; do