summaryrefslogtreecommitdiffstats
path: root/pkgs/top-level/make-tarball.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-01-18 20:16:00 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-01-18 20:16:00 +0000
commitc556a6ea46e71e1907d78b71fab36df30297b3ad (patch)
tree91a51d04a39ab4db1fb5182b56ce63cf9d9779b9 /pkgs/top-level/make-tarball.nix
parentf7159c195a623c311829c38c40ef010ac6e943f7 (diff)
* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-rw-r--r--pkgs/top-level/make-tarball.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix
index fb9c772d9ac0..fad3993ddc12 100644
--- a/pkgs/top-level/make-tarball.nix
+++ b/pkgs/top-level/make-tarball.nix
@@ -66,18 +66,18 @@ releaseTools.makeSourceTarball {
distPhase = ''
find . -name "\.svn" -exec rm -rvf {} \; -prune
- ensureDir $out/tarballs
+ mkdir -p $out/tarballs
mkdir ../$releaseName
cp -prd . ../$releaseName
(cd .. && tar cfa $out/tarballs/$releaseName.tar.bz2 $releaseName) || false
(cd .. && tar cfa $out/tarballs/$releaseName.tar.lzma $releaseName) || false
- ensureDir $out/release-notes
+ mkdir -p $out/release-notes
cp doc/NEWS.html $out/release-notes/index.html
cp doc/style.css $out/release-notes/
echo "doc release-notes $out/release-notes" >> $out/nix-support/hydra-build-products
- ensureDir $out/manual
+ mkdir -p $out/manual
cp doc/manual.html $out/manual/index.html
cp doc/style.css $out/manual/
echo "doc manual $out/manual" >> $out/nix-support/hydra-build-products