* "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
@@ -2,9 +2,9 @@ source $stdenv/setup
# This is a very dirty hack to prevent the binaries from putting the
# Mesa libraries in their RPATHs.
ensureDir $out/tmp
mkdir -p $out/tmp
ln -s $mesa/lib/* $out/tmp/
ensureDir $out/lib
mkdir -p $out/lib
ln -s $mesa/lib/libGLU* $out/lib/
export NIX_LDFLAGS="-L$out/tmp $NIX_LDFLAGS"
@@ -14,7 +14,7 @@ rm -rf $out/tmp
# Add a wrapper around each program to use the appropriate OpenGL driver.
ensureDir $out/bin/.orig
mkdir -p $out/bin/.orig
for i in $(cd $out/bin && ls); do
mv $out/bin/$i $out/bin/.orig/$i