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:
parent
a68f1e2145
commit
a02fada130
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
##############################################################################
|
||||
|
|
Loading…
Reference in a new issue