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@" \