* Don't use the "replace-literal" command in stdenv; instead use

bash's pattern replacement feature.  "replace-literal" is an
  uncommon command so it was a headache during the bootstrap.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31681
This commit is contained in:
Eelco Dolstra
2012-01-19 13:47:26 +00:00
parent fc89eefa50
commit 0e6fa321bb
4 changed files with 9 additions and 17 deletions
-2
View File
@@ -16,8 +16,6 @@ done
mkdir $out
# Can't use substitute() here, because replace may not have been
# built yet (in the bootstrap).
sed \
-e "s^@preHook@^$_preHook^g" \
-e "s^@postHook@^$_postHook^g" \