openjdk: Fix hardcode to /usr/bin/test

svn path=/nixpkgs/trunk/; revision=28069
This commit is contained in:
Shea Levy 2011-08-01 01:13:36 +00:00
parent 0603a5d356
commit ddd7cc3fd2

View file

@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
buildInputs = [ unzip procps ant which zip ];
postUnpack = ''
sed -i s@/usr/bin/test@${coreutils}/bin/test@ \
openjdk/hotspot/make/linux/makefiles/sa.make
'';
makeFlags = ''
MKDIR=${coreutils}/bin/mkdir \
TOUCH=${coreutils}/bin/touch \