5c8db8410d1ed4d47af46836a079336685fe237e
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