diff --git a/bin/makepkg.sh b/bin/makepkg.sh index fb602c0..09fcb01 100755 --- a/bin/makepkg.sh +++ b/bin/makepkg.sh @@ -54,6 +54,13 @@ while getopts "m:r:c:d" option; do if [ "${c_arg}" == "ba" ]; then pkgtype="badeb" be_args+=("${pkgtype}") + else if [ "${c_arg}" == "psap" ]; then + pkgtype="psapdeb" + be_args+=("${pkgtype}") + else + echo "Invalid option: -$OPTARG" >&2 + usage + exit 2 fi ;; \?) @@ -107,7 +114,7 @@ makefe() { } makebe() { - cd ${builddir} + cd ${builddir}/bin #chmod +x mkpkg.sh chmod +x build.sh ./build.sh ${be_args[@]}