Commit 9947fdfa authored by Natanael Copa's avatar Natanael Copa

newapkbuild: use -y for python instead of -q

parent 15718f9c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment