Merge pull request #2855 from cstrahan/xpwn-fix-darwin

Fix xpwn on Darwin and other case-insensitive file systems
This commit is contained in:
Austin Seipp
2014-06-10 18:14:42 -05:00

View File

@@ -11,6 +11,7 @@ stdenv.mkDerivation {
};
preConfigure = ''
rm BUILD # otherwise `mkdir build` fails on case insensitive file systems
sed -r -i \
-e 's/(install.*TARGET.*DESTINATION )\.\)/\1bin)/' \
-e 's!(install.*(FILE|DIR).*DESTINATION )([^)]*)!\1share/xpwn/\3!' \