sshfs-mapper: .map parser was buggy with some kind of whitespaces
git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1261 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
parent
6aaf665db5
commit
c8c38bc652
2 changed files with 8 additions and 2 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
||||||
|
sshfs-mapper (0.1-4.3) unstable; urgency=low
|
||||||
|
|
||||||
|
* .map parser was buggy with some kind of whitespaces.
|
||||||
|
|
||||||
|
-- <warbrain@daneel.glenux.net> Fri, 20 Mar 2009 17:49:17 +0100
|
||||||
|
|
||||||
sshfs-mapper (0.1-4.2) unstable; urgency=low
|
sshfs-mapper (0.1-4.2) unstable; urgency=low
|
||||||
|
|
||||||
* Changed interpreter to /bin/sh instead of /bin/bash .
|
* Changed interpreter to /bin/sh instead of /bin/bash .
|
||||||
|
|
|
@ -23,8 +23,8 @@ SSHFS_HOSTS_SELECTION=0
|
||||||
read_conf() {
|
read_conf() {
|
||||||
local config=$1
|
local config=$1
|
||||||
local var=$2
|
local var=$2
|
||||||
local value=`eval echo \`cat $config |grep "^$2=" |sed "s/$2=//"\``
|
local value="`eval echo \`cat $config |grep "^$2=" |sed "s/$2=//"\``"
|
||||||
echo $value
|
echo "$value"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_mount() {
|
do_mount() {
|
||||||
|
|
Loading…
Reference in a new issue