3 # /etc/ports/drivers/httpup: httpup driver script for ports(8)
7 echo "usage: $0 <file>" >&2
13 if [ -z "$ROOT_DIR" ]; then
14 echo "ROOT_DIR not set in '$1'" >&2
17 if [ -z "$URL" ]; then
18 echo "URL not set in '$1'" >&2
23 PORT
=`echo $REPO | sed -n '/#.*$/s|^.*#||p'`
24 httpup sync
$REPO $ROOT_DIR/$PORT