diff -r 28c17b099420 -r 8069b08e90ac bin/update --- a/bin/update Fri Feb 27 17:56:16 2015 +0200 +++ b/bin/update Fri Feb 27 18:07:32 2015 +0200 @@ -1,10 +1,12 @@ #!/bin/bash -SRV=${SRV:-.} -SRC=${OPT:-.} +# absolute path to directory with etc/ and var/ +SRV=${SRV:-$(pwd)} + +# path (relative to $SRV) to directory with bin/ OPT=${OPT:-./opt} -ETC=${ETC:-$SRV/etc} -LIB=${LIB:-$SRC/lib} -VAR=${VAR:-$SRV/var} + +# path (relative to $SRV) to lib/ directory with pvl/ +LIB=${LIB:-./lib} . $LIB/pvl/hosts/update.sh