From 4215a73c8cb9e9f80e0091d3a58b05c5c38d7ad6 Mon Sep 17 00:00:00 2001 From: zhangsz Date: Tue, 15 Apr 2025 11:33:33 +0800 Subject: [PATCH] feat: psap portal --- bin/makepkg.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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[@]}