From 1d4ba2c4158a4ffc84bb23eb5ad2a9ee9eeb8c76 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 4 Nov 2011 14:47:14 +0000 Subject: remove destdir before trying to install into it svn path=/trunk/; revision=15703 --- externals/build-all-libdirs.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/externals/build-all-libdirs.sh b/externals/build-all-libdirs.sh index b79d97da..b096cfc4 100755 --- a/externals/build-all-libdirs.sh +++ b/externals/build-all-libdirs.sh @@ -7,7 +7,8 @@ do (test -e "$dir/Makefile" && echo "Building $dir") || continue make -C $dir dist make -C $dir distclean - make -C $dir - mkdir destdir - make -C $dir DESTDIR=destdir objectsdir="" install + make -C $dir + rm -rf -- $dir/destdir + mkdir $dir/destdir + make -C $dir DESTDIR=$dir/destdir objectsdir="" install done -- cgit v1.2.1