mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 13:03:58 +01:00
scripts: Use get_os.sh for packaging
Use get_os.sh for determining which distribution and version packages are built for, and upload accordingly. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
c28871c075
commit
61a4706c76
3 changed files with 13 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ usage()
|
|||
[ "$1" ] && exit $1
|
||||
}
|
||||
|
||||
set -- `getopt P:T:V:S:N:hR:D: "$@"`
|
||||
set -- `getopt P:T:V:S:N:hR:D:d: "$@"`
|
||||
|
||||
while [ "$1" != -- ]; do
|
||||
case $1 in
|
||||
|
|
@ -49,6 +49,9 @@ case $1 in
|
|||
-P)
|
||||
PROJECT="$2"
|
||||
shift;;
|
||||
-d)
|
||||
DISTRIBUTION="$2"
|
||||
shift;;
|
||||
*)
|
||||
usage 1;;
|
||||
esac
|
||||
|
|
@ -96,7 +99,8 @@ export \
|
|||
SOURCE \
|
||||
VERSION RELEASE V \
|
||||
INSTALL_LOG \
|
||||
FILTER_DEVEL
|
||||
FILTER_DEVEL \
|
||||
DISTRIBUTION
|
||||
|
||||
bash $MKSPEC_SH
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue