diff options
-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} |