From a02fada130fd832168d279c9e54f4430caf49fc5 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Tue, 19 Oct 2010 21:31:35 +0000 Subject: rockboxdev.sh: Fix build failure on cygwin by not trying to remove the current directory On Windows you can't delete a directory that's in use, so deleting $builddir while inside it fails. The script now leaves the individual tool build directory then just deletes that (and the corresponding source) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28314 a1c6a512-1295-4272-9138-f99709370657 --- tools/rockboxdev.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index d0ba724..27906da 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -195,7 +195,9 @@ build() { echo "ROCKBOXDEV: $toolname/make install" $make install - rm -rf $builddir + echo "ROCKBOXDEV: rm -rf build-$toolname $toolname-$version" + cd .. + rm -rf build-$toolname $toolname-$version } ############################################################################## -- cgit v1.1