From: Ben Gras Date: Wed, 3 Aug 2011 10:53:01 +0000 (+0200) Subject: release.sh: fix -l, add -L option for local packages X-Git-Tag: v3.2.0~387 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/named.html?a=commitdiff_plain;h=b9d027bfe23f6a80fab1e38b483e077ccb02230f;p=minix.git release.sh: fix -l, add -L option for local packages . by Jan Wieck --- diff --git a/tools/release.sh b/tools/release.sh index 1865a40c8..7301c2aa1 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -79,11 +79,11 @@ fi FILENAMEOUT="" -while getopts "j:ls:pmMchu?r:f:" c +while getopts "j:ls:pmMchu?r:f:L:" c do case "$c" in \?) - echo "Usage: $0 [-l] [-p] [-c] [-h] [-m] [-M] [-r ] [-u] [-f ] [-s ] -j" >&2 + echo "Usage: $0 [-l] [-p] [-c] [-h] [-m] [-M] [-r ] [-u] [-f ] [-s ] -j [-L ]" >&2 exit 1 ;; h) @@ -121,7 +121,9 @@ do ;; M) MAKEMAP=1 ;; - l) PKG_ADD_URL=file://$PACKAGEDIR + l) PKG_ADD_URL=file://$PACKAGEDIR/All + ;; + L) PACKAGEURL="$OPTARG" ;; esac done