* "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:
Eelco Dolstra
2012-01-18 20:16:00 +00:00
parent f7159c195a
commit c556a6ea46
629 changed files with 931 additions and 939 deletions
+3 -3
View File
@@ -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}"
'';