summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel
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/os-specific/linux/kernel
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/os-specific/linux/kernel')
-rw-r--r--pkgs/os-specific/linux/kernel/builder.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/builder.sh b/pkgs/os-specific/linux/kernel/builder.sh
index 61cb8f28081..5d6d48d2fc3 100644
--- a/pkgs/os-specific/linux/kernel/builder.sh
+++ b/pkgs/os-specific/linux/kernel/builder.sh
@@ -48,7 +48,7 @@ configurePhase() {
 
 installPhase() {
 
-    ensureDir $out
+    mkdir -p $out
 
     # New kernel versions have a combined tree for i386 and x86_64.
     archDir=$arch
@@ -60,7 +60,7 @@ installPhase() {
     # Copy the bzImage and System.map.
     cp System.map $out
     if test "$arch" = um; then
-        ensureDir $out/bin
+        mkdir -p $out/bin
         cp linux $out/bin
     elif test "$kernelTarget" != "vmlinux"; then
         # In any case we copy the 'vmlinux' ELF in the next lines