summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-01-03 00:54:24 +0100
committerJonas Smedegaard <dr@jones.dk>2018-01-03 00:54:24 +0100
commit9c5555de4d3e4af39290a89d640f4506270b7a1d (patch)
treec0fc2b38ce77fb2c308921c6ab9f894c0a83e7e3
parentbea587720cb611f246f947e06698c34941413195 (diff)
Disable tilde compaction in configfile: Requires newer vdirsyncer than in Debian stable (works with vdirsyncer 6.7-2).HEADmaster
-rwxr-xr-xbin/vdirsyncer5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/vdirsyncer b/bin/vdirsyncer
index 5724e3c..7be76eb 100755
--- a/bin/vdirsyncer
+++ b/bin/vdirsyncer
@@ -8,8 +8,9 @@ BASEDIR=$(dirname -- "$(dirname -- "$SCRIPT")") #"
VDIRSYNCER=/usr/bin/vdirsyncer
VDIRSYNCER_CONFIG="$BASEDIR/config"
-SUBDIR=$(realpath --no-symlinks --relative-to="$HOME" --relative-base="$HOME" -- "$BASEDIR")
-[ "$HOME/$SUBDIR" != "$BASEDIR" ] || BASEDIR="~/$SUBDIR"
+# TODO: enable when ~ expansion is supported (vdirsyncer 6.7-2 works)
+#SUBDIR=$(realpath --no-symlinks --relative-to="$HOME" --relative-base="$HOME" -- "$BASEDIR")
+#[ "$HOME/$SUBDIR" != "$BASEDIR" ] || BASEDIR="~/$SUBDIR"
ACTION=${1:-sync}