ghcjs: unbreak syntax highlighting in Emacs

This commit is contained in:
Peter Simons 2015-06-16 12:32:46 +02:00
parent fbe153989c
commit 8a8ed5fa1b

View File

@ -103,7 +103,7 @@ in mkDerivation (rec {
# Make the patches be relative their corresponding package's directory.
# See: https://github.com/ghcjs/ghcjs-boot/pull/12
for patch in $topDir/ghcjs-boot/patches/*.patch; do
for patch in "$topDir/ghcjs-boot/patches/"*.patch; do
echo "fixing patch: $patch"
sed -i -e 's@ \(a\|b\)/boot/[^/]\+@ \1@g' $patch
done