3
0
Fork 0
forked from mirrors/nixpkgs

A more correct condition for adding scripts to install

svn path=/nixpkgs/trunk/; revision=31638
This commit is contained in:
Michael Raskin 2012-01-18 17:23:41 +00:00
parent 45add982ae
commit faedda84ef

View file

@ -44,7 +44,7 @@ stdenv.mkDerivation {
preConfigure =
(lib.concatMapStrings (script:
''
sed -e '/bin_SCRIPTS/a${script} \\' -i scripts/Makefile.am
sed -e '/bin_SCRIPTS = /a${script} \\' -i scripts/Makefile.am
''
) enableScripts)
+ preConfigure