1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

openjdk: Combine two seds into one

svn path=/nixpkgs/trunk/; revision=28085
This commit is contained in:
Shea Levy 2011-08-01 01:15:45 +00:00
parent f70d3b72df
commit 635dd9aac5

View file

@ -24,10 +24,8 @@ stdenv.mkDerivation rec {
buildInputs = [ unzip procps ant which zip nettools ];
postUnpack = ''
sed -i s@/usr/bin/test@${coreutils}/bin/test@ \
openjdk/hotspot/make/linux/makefiles/sa.make
sed -i s@/bin/ls@${coreutils}/bin/ls@ \
sed -i -e "s@/usr/bin/test@${coreutils}/bin/test@" \
-e "s@/bin/ls@${coreutils}/bin/ls@" \
openjdk/hotspot/make/linux/makefiles/sa.make
sed -i "s@/bin/echo -e@${coreutils}/bin/echo -e@" \