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
This commit is contained in:
Torne Wuff 2010-10-19 21:31:35 +00:00
parent a68f1e2145
commit a02fada130

View file

@ -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
}
##############################################################################