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: Add PROJECT
This commit is contained in:
parent
2878180bfc
commit
a9a6c44416
2 changed files with 5 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ shift
|
|||
|
||||
usage()
|
||||
{
|
||||
echo usage: $MYNAME /path/to/mkspec.sh -h [-N name] [-T topdir] [-V version] [-S source] [-R requires]
|
||||
echo usage: $MYNAME /path/to/mkspec.sh -h [-N name] [-T topdir] [-V version] [-S source] [-R requires] [-P project]
|
||||
[ "$1" ] && exit $1
|
||||
}
|
||||
|
||||
|
|
@ -32,6 +32,9 @@ case $1 in
|
|||
-R)
|
||||
REQUIRES="$2"
|
||||
shift;;
|
||||
-P)
|
||||
PROJECT="$2"
|
||||
shift;;
|
||||
*)
|
||||
usage 1;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue