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 " -h Show this help"
|
||||||
echo " -l Set package license to LICENSE"
|
echo " -l Set package license to LICENSE"
|
||||||
echo " -p Create perl package (Assume Makefile.PL is there)"
|
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 " -u Set package URL"
|
||||||
echo " -s Use sourceforge source URL"
|
echo " -s Use sourceforge source URL"
|
||||||
echo ""
|
echo ""
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts "acd:fhl:pqu:s" opt; do
|
while getopts "acd:fhl:pyu:s" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
'a') buildtype="autotools";;
|
'a') buildtype="autotools";;
|
||||||
'c') cpinitd=1;;
|
'c') cpinitd=1;;
|
||||||
@ -284,7 +284,7 @@ while getopts "acd:fhl:pqu:s" opt; do
|
|||||||
'h') usage;;
|
'h') usage;;
|
||||||
'l') license="$OPTARG";;
|
'l') license="$OPTARG";;
|
||||||
'p') buildtype="perl";;
|
'p') buildtype="perl";;
|
||||||
'q') buildtype="python";;
|
'y') buildtype="python";;
|
||||||
'u') url="$OPTARG";;
|
'u') url="$OPTARG";;
|
||||||
's') sourceforge=1;;
|
's') sourceforge=1;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user