summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-10-19 21:31:35 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-10-19 21:31:35 +0000
commita02fada130fd832168d279c9e54f4430caf49fc5 (patch)
tree4da7700b53f8fd49847ab9107d635ee822ed7d53 /tools
parenta68f1e214511cae4511c97abeb83d296872a8a8a (diff)
downloadrockbox-a02fada130fd832168d279c9e54f4430caf49fc5.tar.gz
rockbox-a02fada130fd832168d279c9e54f4430caf49fc5.tar.bz2
rockbox-a02fada130fd832168d279c9e54f4430caf49fc5.zip
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rockboxdev.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index d0ba724f5d..27906da26a 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
}
##############################################################################