mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
Query user before removing build dir
This commit is contained in:
parent
a4cd137cef
commit
0ff09868cb
1 changed files with 9 additions and 1 deletions
|
@ -67,4 +67,12 @@ mkdir -p /tmp/releases_${VARIANT}
|
||||||
cp *.apk /tmp/releases_${VARIANT}
|
cp *.apk /tmp/releases_${VARIANT}
|
||||||
|
|
||||||
cd $CURDIR
|
cd $CURDIR
|
||||||
rm -rf $BUILDIR
|
echo "remove build dir $BUILDIR? (y or n):"
|
||||||
|
echo -n "==> "
|
||||||
|
read ANSWER
|
||||||
|
if [ "$ANSWER" = 'y' ]; then
|
||||||
|
rm -rf $BUILDIR
|
||||||
|
echo "removed $BUILDIR"
|
||||||
|
else
|
||||||
|
echo "$BUILDIR not removed"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue