mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-13 04:56:14 -05:00
actually remove build directory
This commit is contained in:
@@ -250,19 +250,20 @@ if [ -f $scriptdir/build-crtls.sh ]; then . $scriptdir/build-crtls.sh || { echo
|
||||
# Clean up temporary files and source directories
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
cd $BUILDSCRIPTDIR
|
||||
|
||||
if [ "$BUILD_DKPRO_AUTOMATED" != "1" ] ; then
|
||||
echo
|
||||
echo "Would you like to delete the build folders and patched sources? [Y/n]"
|
||||
read answer
|
||||
echo
|
||||
echo "Would you like to delete the build folders and patched sources? [Y/n]"
|
||||
read answer
|
||||
else
|
||||
answer=y
|
||||
answer=y
|
||||
fi
|
||||
|
||||
if [ "$answer" != "n" -a "$answer" != "N" ]
|
||||
then
|
||||
|
||||
echo "Removing patched sources and build directories"
|
||||
if [ "$answer" != "n" -a "$answer" != "N" ]; then
|
||||
|
||||
echo "Removing patched sources and build directories"
|
||||
rm -fr $BUILDDIR
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user