about summary refs log tree commit diff
path: root/pkgs/tools/graphics/ploticus
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/tools/graphics/ploticus
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/tools/graphics/ploticus')
-rw-r--r--pkgs/tools/graphics/ploticus/builder.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/ploticus/builder.sh b/pkgs/tools/graphics/ploticus/builder.sh
index 89d4e3b98eaf0..2fb16b259bdcf 100644
--- a/pkgs/tools/graphics/ploticus/builder.sh
+++ b/pkgs/tools/graphics/ploticus/builder.sh
@@ -5,12 +5,12 @@ preBuild() {
 }
 
 preInstall() {
-  ensureDir $out/bin
+  mkdir -p $out/bin
 }
 
 postInstall() {
   # Install the "prefabs".
-  ensureDir $out/share/ploticus/prefabs &&		\
+  mkdir -p $out/share/ploticus/prefabs &&		\
   cd .. &&						\
   cp -rv prefabs/* $out/share/ploticus/prefabs