From b9d027bfe23f6a80fab1e38b483e077ccb02230f Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 3 Aug 2011 12:53:01 +0200 Subject: [PATCH] release.sh: fix -l, add -L option for local packages . by Jan Wieck --- tools/release.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.44.0