mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
rpmdist.mk, mkspec-wrapper.sh: Use all the required packages, seperated by spaces
This commit is contained in:
parent
dc55e330e2
commit
609c5b6fb3
2 changed files with 7 additions and 8 deletions
|
|
@ -11,9 +11,9 @@ usage()
|
|||
[ "$1" ] && exit $1
|
||||
}
|
||||
|
||||
set -- `getopt P:T:V:S:N:hR: $*`
|
||||
set -- `getopt P:T:V:S:N:hR: "$@"`
|
||||
|
||||
while [ $1 != -- ]; do
|
||||
while [ "$1" != -- ]; do
|
||||
case $1 in
|
||||
-h)
|
||||
usage 0;;
|
||||
|
|
@ -30,7 +30,10 @@ case $1 in
|
|||
NAME="$2"
|
||||
shift;;
|
||||
-R)
|
||||
REQUIRES="$2"
|
||||
while [ "`echo $2 | cut -c1`" != "-" ]; do
|
||||
REQUIRES="$REQUIRES $2"
|
||||
shift
|
||||
done
|
||||
shift;;
|
||||
-P)
|
||||
PROJECT="$2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue