* 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:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user