newapkbuild: use -y for python instead of -q
This commit is contained in:
parent
15718f9cf9
commit
9947fdfafa
@ -268,14 +268,14 @@ usage() {
|
||||
echo " -h Show this help"
|
||||
echo " -l Set package license to LICENSE"
|
||||
echo " -p Create perl package (Assume Makefile.PL is there)"
|
||||
echo " -q Create python package (Assume setup.py is there)"
|
||||
echo " -y Create python package (Assume setup.py is there)"
|
||||
echo " -u Set package URL"
|
||||
echo " -s Use sourceforge source URL"
|
||||
echo ""
|
||||
exit 0
|
||||
}
|
||||
|
||||
while getopts "acd:fhl:pqu:s" opt; do
|
||||
while getopts "acd:fhl:pyu:s" opt; do
|
||||
case $opt in
|
||||
'a') buildtype="autotools";;
|
||||
'c') cpinitd=1;;
|
||||
@ -284,7 +284,7 @@ while getopts "acd:fhl:pqu:s" opt; do
|
||||
'h') usage;;
|
||||
'l') license="$OPTARG";;
|
||||
'p') buildtype="perl";;
|
||||
'q') buildtype="python";;
|
||||
'y') buildtype="python";;
|
||||
'u') url="$OPTARG";;
|
||||
's') sourceforge=1;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user