commit 9aa514079917f3bbae6f96b4c259136a516def0e
parent dd8cda898685d2f43608c12895f9390f82c9d04e
Author: clamiax <smoppy@gmail.com>
Date: Fri, 6 Jul 2018 13:08:29 +0200
[droid] Create $BASEDIR if not exists.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/droid b/src/droid
@@ -23,6 +23,7 @@ _adb() {
do_setup() {
echo "Setting up the development environment..."
+ [ ! -d "$BASEDIR" ] && mkdir -p "$BASEDIR"
cd "/tmp"
if [ ! -d "$BASEDIR/android-sdk-linux" ]; then
echo "Setting up the SDK..."