Fix xpwn on Darwin and other case-insensitive file systems
This commit is contained in:
parent
5f987d99e8
commit
af479a67b7
@ -11,6 +11,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
rm BUILD # otherwise `mkdir build` fails on case insensitive file systems
|
||||||
sed -r -i \
|
sed -r -i \
|
||||||
-e 's/(install.*TARGET.*DESTINATION )\.\)/\1bin)/' \
|
-e 's/(install.*TARGET.*DESTINATION )\.\)/\1bin)/' \
|
||||||
-e 's!(install.*(FILE|DIR).*DESTINATION )([^)]*)!\1share/xpwn/\3!' \
|
-e 's!(install.*(FILE|DIR).*DESTINATION )([^)]*)!\1share/xpwn/\3!' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user