release.sh: fix -l, add -L option for local packages
. by Jan Wieck
This commit is contained in:
parent
a99a4b2a05
commit
b9d027bfe2
1 changed files with 5 additions and 3 deletions
|
@ -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 <tag>] [-u] [-f <filename>] [-s <username>] -j<jaildir>" >&2
|
||||
echo "Usage: $0 [-l] [-p] [-c] [-h] [-m] [-M] [-r <tag>] [-u] [-f <filename>] [-s <username>] -j<jaildir> [-L <packageurl>]" >&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
|
||||
|
|
Loading…
Reference in a new issue