bin/update
branch0.8
changeset 654 8069b08e90ac
parent 650 c707c3ee8665
equal deleted inserted replaced
653:28c17b099420 654:8069b08e90ac
     1 #!/bin/bash
     1 #!/bin/bash
     2 
     2 
     3 SRV=${SRV:-.}
     3 # absolute path to directory with etc/ and var/
     4 SRC=${OPT:-.}
     4 SRV=${SRV:-$(pwd)}
       
     5 
       
     6 # path (relative to $SRV) to directory with bin/
     5 OPT=${OPT:-./opt}
     7 OPT=${OPT:-./opt}
     6 ETC=${ETC:-$SRV/etc}
     8 
     7 LIB=${LIB:-$SRC/lib}
     9 # path (relative to $SRV) to lib/ directory with pvl/
     8 VAR=${VAR:-$SRV/var}
    10 LIB=${LIB:-./lib}
     9 
    11 
    10 . $LIB/pvl/hosts/update.sh
    12 . $LIB/pvl/hosts/update.sh