diff --git a/debian/changelog b/debian/changelog index 2193003..0942ec2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sshfs-mapper (0.1-4.3) unstable; urgency=low + + * .map parser was buggy with some kind of whitespaces. + + -- Fri, 20 Mar 2009 17:49:17 +0100 + sshfs-mapper (0.1-4.2) unstable; urgency=low * Changed interpreter to /bin/sh instead of /bin/bash . diff --git a/sshfs-mapper b/sshfs-mapper index 3069b83..555e6b7 100755 --- a/sshfs-mapper +++ b/sshfs-mapper @@ -23,8 +23,8 @@ SSHFS_HOSTS_SELECTION=0 read_conf() { local config=$1 local var=$2 - local value=`eval echo \`cat $config |grep "^$2=" |sed "s/$2=//"\`` - echo $value + local value="`eval echo \`cat $config |grep "^$2=" |sed "s/$2=//"\``" + echo "$value" } do_mount() {