diff options
author | Jonas Smedegaard <dr@jones.dk> | 2018-01-03 00:54:24 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2018-01-03 00:54:24 +0100 |
commit | 9c5555de4d3e4af39290a89d640f4506270b7a1d (patch) | |
tree | c0fc2b38ce77fb2c308921c6ab9f894c0a83e7e3 | |
parent | bea587720cb611f246f947e06698c34941413195 (diff) |
Disable tilde compaction in configfile: Requires newer vdirsyncer than in Debian stable (works with vdirsyncer 6.7-2).HEADmaster
-rwxr-xr-x | bin/vdirsyncer | 5 |
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} |