bin/update
author Tero Marttila <tero.marttila@aalto.fi>
Fri, 27 Feb 2015 18:07:32 +0200
branch0.8
changeset 654 8069b08e90ac
parent 650 c707c3ee8665
permissions -rwxr-xr-x
bin/update: fixup relative/absolute paths
#!/bin/bash

# absolute path to directory with etc/ and var/
SRV=${SRV:-$(pwd)}

# path (relative to $SRV) to directory with bin/
OPT=${OPT:-./opt}

# path (relative to $SRV) to lib/ directory with pvl/
LIB=${LIB:-./lib}

. $LIB/pvl/hosts/update.sh