summary refs log tree commit diff
path: root/pkgs/games/teeworlds
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/games/teeworlds
parentf7159c195a623c311829c38c40ef010ac6e943f7 (diff)
downloadnixpkgs-c556a6ea46e71e1907d78b71fab36df30297b3ad.tar
nixpkgs-c556a6ea46e71e1907d78b71fab36df30297b3ad.tar.gz
nixpkgs-c556a6ea46e71e1907d78b71fab36df30297b3ad.tar.bz2
nixpkgs-c556a6ea46e71e1907d78b71fab36df30297b3ad.tar.lz
nixpkgs-c556a6ea46e71e1907d78b71fab36df30297b3ad.tar.xz
nixpkgs-c556a6ea46e71e1907d78b71fab36df30297b3ad.tar.zst
nixpkgs-c556a6ea46e71e1907d78b71fab36df30297b3ad.zip
* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
  function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
Diffstat (limited to 'pkgs/games/teeworlds')
-rw-r--r--pkgs/games/teeworlds/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/teeworlds/default.nix b/pkgs/games/teeworlds/default.nix
index 7824fbd9bdf..c685f11c4c1 100644
--- a/pkgs/games/teeworlds/default.nix
+++ b/pkgs/games/teeworlds/default.nix
@@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
 
   installPhase = ''
     # Copy the graphics, sounds, etc.
-    ensureDir "$out/share/${name}"
+    mkdir -p "$out/share/${name}"
     cp -rv data other/icons "$out/share/${name}"
 
     # Copy the executables (client, server, etc.).
-    ensureDir "$out/bin"
+    mkdir -p "$out/bin"
     executables=""
     for file in *
     do
@@ -46,7 +46,7 @@ EOF
     done
 
     # Copy the documentation.
-    ensureDir "$out/doc/${name}"
+    mkdir -p "$out/doc/${name}"
     cp -v *.txt "$out/doc/${name}"
   '';