aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-11-04 14:47:14 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-11-04 14:47:14 +0000
commit1d4ba2c4158a4ffc84bb23eb5ad2a9ee9eeb8c76 (patch)
tree838acf83c5d360d36bc43bb2008424caef67931e /externals
parentb17e319ffa27df553808d9e536daaa468fe9cf5f (diff)
remove destdir before trying to install into it
svn path=/trunk/; revision=15703
Diffstat (limited to 'externals')
-rwxr-xr-xexternals/build-all-libdirs.sh7
1 files 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