#!/bin/sh
#
# bup-save-user -- Save user data using bup(1)
-# Copyright (c)2013-2014 Alexander Barton (alex@barton.de)
+# Copyright (c)2013-2016 Alexander Barton (alex@barton.de)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fi
paths="$HOME"
-[ -n "$LOCAL_HOME" -a "$LOCAL_HOME" != "$HOME" -a -d "$LOCAL_HOME" ] \
+[ -n "$LOCAL_HOME" ] && [ "$LOCAL_HOME" != "$HOME" ] && [ -d "$LOCAL_HOME" ] \
&& paths="$paths $LOCAL_HOME"
[ -d "/var/spool/mail/$LOGNAME" ] \
&& paths="$paths /var/spool/mail/$LOGNAME"