* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
This commit is contained in:
@@ -73,7 +73,7 @@ stdenv.mkDerivation (
|
||||
if test -n "$keepBuildDirectory"; then
|
||||
KEEPBUILDDIR="$out/`basename $TMPDIR`"
|
||||
header "Copying build directory to $KEEPBUILDDIR"
|
||||
ensureDir $KEEPBUILDDIR
|
||||
mkdir -p $KEEPBUILDDIR
|
||||
cp -R $TMPDIR/* $KEEPBUILDDIR
|
||||
stopNest
|
||||
fi
|
||||
@@ -91,7 +91,7 @@ stdenv.mkDerivation (
|
||||
buildInputs = buildInputs ++ bootstrapBuildInputs;
|
||||
|
||||
postHook = ''
|
||||
ensureDir $out/nix-support
|
||||
mkdir -p $out/nix-support
|
||||
'';
|
||||
|
||||
postUnpack = ''
|
||||
|
||||
Reference in New Issue
Block a user