Skip to content

Instantly share code, notes, and snippets.

@hkoba
Created September 25, 2014 10:49
Show Gist options
  • Save hkoba/8cd4d9651e18d168114f to your computer and use it in GitHub Desktop.
Save hkoba/8cd4d9651e18d168114f to your computer and use it in GitHub Desktop.
To remove bash-ism from ghc-doc-index.
--- ghc-doc-index.orig 2014-09-25 19:47:00.000000000 +0900
+++ ghc-doc-index 2014-09-25 19:47:28.000000000 +0900
@@ -34,5 +34,5 @@
fi
if [ -f $PKGDIRCACHE.new ]; then
- mv -f $PKGDIRCACHE{.new,}
+ mv -f $PKGDIRCACHE.new $PKGDIRCACHE
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment