summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xblueman_open4
1 files changed, 3 insertions, 1 deletions
diff --git a/blueman_open b/blueman_open
index a1982c4..f51a881 100755
--- a/blueman_open
+++ b/blueman_open
@@ -11,8 +11,10 @@ fi
device_addr=$1
own_name=$(basename $0)
-dir=$(mkdir)/mnt/$device_addr
+basedir=${basedir:-/mnt}
+dir=${basedir}/$device_addr
browser=${browser:-"xdg-open"}
+
count=0
# Check for kdialog