diff options
| author | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-10-19 21:31:35 +0000 |
|---|---|---|
| committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-10-19 21:31:35 +0000 |
| commit | a02fada130fd832168d279c9e54f4430caf49fc5 (patch) | |
| tree | 4da7700b53f8fd49847ab9107d635ee822ed7d53 /tools | |
| parent | a68f1e214511cae4511c97abeb83d296872a8a8a (diff) | |
| download | rockbox-a02fada130fd832168d279c9e54f4430caf49fc5.zip rockbox-a02fada130fd832168d279c9e54f4430caf49fc5.tar.gz rockbox-a02fada130fd832168d279c9e54f4430caf49fc5.tar.bz2 rockbox-a02fada130fd832168d279c9e54f4430caf49fc5.tar.xz | |
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-x | tools/rockboxdev.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 } ############################################################################## |