* "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

View File

@@ -6,7 +6,7 @@ preConfigure() {
postInstall() {
romsDir=$out/share/atari800/roms
ensureDir $romsDir
mkdir -p $romsDir
unzip $rom -d $romsDir
}

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation {
buildInputs = [ libX11 libXt libXext libXaw ];
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
cp darcnes $out/bin
'';

View File

@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
};
postInstall = ''
ensureDir $out/share/applications
mkdir -p $out/share/applications
cp ${desktopItem}/share/applications/* $out/share/applications
'';

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation {
libXxf86vm libXcursor libXpm ];
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
cp fakenes $out/bin
'';

View File

@@ -36,7 +36,7 @@ stdenv.mkDerivation {
installPhase =
''
ensureDir $out/bin
mkdir -p $out/bin
cp mess* $out/bin/mess
'';

View File

@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
'';
postInstall = ''
ensureDir $out/share/applications
mkdir -p $out/share/applications
cp ${desktopItem}/share/applications/* $out/share/applications
'';