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:
Glenn Y. Rolland 2009-03-20 16:50:41 +00:00
parent ea55931bef
commit 69b0e03346
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View file

@ -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 .

View file

@ -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() {