%ghc_fix_doc_perms: quote backslashes in the regexp

epel9
Jens Petersen 4 years ago
parent a49534372d
commit 63e6e932d7

@ -127,7 +127,7 @@ fi\
# workaround Cabal bug causing executable extra-source-files
%ghc_fix_doc_perms\
for f in $(ls | grep -i -e "^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)"); do\
for f in $(ls | grep -i -e '^\\(ANNOUNCE\\|AUTHORS\\|CHANGELOG\\|CHANGES\\|CONTRIBUTORS\\|README\\|TODO\\)'); do\
if [ -x $f ]; then chmod a-x $f; fi\
done\
%{nil}

Loading…
Cancel
Save