Skip to content
Snippets Groups Projects
Commit 9947fdfa authored by Natanael Copa's avatar Natanael Copa
Browse files

newapkbuild: use -y for python instead of -q

parent 15718f9c
No related branches found
No related tags found
No related merge requests found
...@@ -268,14 +268,14 @@ usage() { ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment