diff options
author | Robby Workman <rworkman@slackware.com> | 2009-12-15 08:29:42 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2009-12-15 08:29:42 -0600 |
commit | 0838610086699a16933a6027952830cff0efef33 (patch) | |
tree | 2c3c424c892eb1bfba81c67e8c29db1466009db0 /blueman_open | |
parent | acc62cd1d26916096f4cc42fc65b80e8f75d0ba4 (diff) | |
download | blueman-open-0838610086699a16933a6027952830cff0efef33.tar.xz |
Tweaks to the directory creation
Default to /mnt as $basedir
Set dir=$basedir/$device_name
No need to $(mkdir $basedir/$device_name) early - the directory
will be created later in a function
Diffstat (limited to 'blueman_open')
-rwxr-xr-x | blueman_open | 4 |
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 |