branch | 0.8 |
changeset 654 | 8069b08e90ac |
parent 650 | c707c3ee8665 |
--- 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