%ghc_fix_doc_perms: quote backslashes in the regexp
This commit is contained in:
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…
Reference in New Issue
Block a user