diff --git a/pkgs/development/compilers/openjdk/default.nix b/pkgs/development/compilers/openjdk/default.nix index 8db69b126be9..733a6e1409f6 100644 --- a/pkgs/development/compilers/openjdk/default.nix +++ b/pkgs/development/compilers/openjdk/default.nix @@ -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@" \