summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-09 14:36:47 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-09 14:36:47 +0200
commit82cc1279724dddf7b257a4da2a2b88d847153f3e (patch)
tree9574374781c581dad6b2508568b250c4695ce9fd
parent398a7a875b6f48919ea411834cf5fc7a389fa086 (diff)
Fix expand BASEDIR when creating config.
-rwxr-xr-xbin/vdirsyncer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/vdirsyncer b/bin/vdirsyncer
index 6ae3cb1..1894ad9 100755
--- a/bin/vdirsyncer
+++ b/bin/vdirsyncer
@@ -9,7 +9,7 @@ ACTION=${1:-sync}
export VDIRSYNCER_CONFIG="$BASEDIR/config"
if [ ! -e "$BASEDIR/config" ]; then
- sed -e 's,@@BASEDIR@@,~/FOO,g' "$BASEDIR/config.in" > "$BASEDIR/config"
+ sed -e "s,@@BASEDIR@@,$BASEDIR,g" "$BASEDIR/config.in" > "$BASEDIR/config"
/usr/bin/vdirsyncer discover
fi