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:
parent
f70d3b72df
commit
635dd9aac5
|
@ -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@" \
|
||||
|
|
Loading…
Reference in a new issue