diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-11-04 14:47:14 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-11-04 14:47:14 +0000 |
commit | 1d4ba2c4158a4ffc84bb23eb5ad2a9ee9eeb8c76 (patch) | |
tree | 838acf83c5d360d36bc43bb2008424caef67931e | |
parent | b17e319ffa27df553808d9e536daaa468fe9cf5f (diff) |
remove destdir before trying to install into it
svn path=/trunk/; revision=15703
-rwxr-xr-x | externals/build-all-libdirs.sh | 7 |
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 |