* "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:
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
unpackPhase = ''
|
||||
ensureDir src
|
||||
mkdir -p src
|
||||
pushd src
|
||||
tar xvzf $src
|
||||
'';
|
||||
@@ -22,8 +22,8 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
buildPhase = "make -f makefile linux";
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
ensureDir $out/man/man1
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/man/man1
|
||||
make -f makefile install
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user