Fixed 'skip check' flag and added .compilation-options files that can alter the metadata of the output binary bpm file

This commit is contained in:
2024-09-09 09:23:46 +00:00
parent 190a670cff
commit 39b56204ae
3 changed files with 29 additions and 8 deletions
+9 -1
View File
@@ -1,5 +1,11 @@
#!/bin/bash
if [ -f .compilation-options ]; then
source ./.compilation-options
fi
echo "$ARCH"
while getopts "ksa:" o; do
case "${o}" in
a) ARCH="$OPTARG";;
@@ -118,7 +124,9 @@ cd "$BPM_SOURCE"
RunPkgFunction build
cd "$BPM_SOURCE"
RunPkgFunction check
if [ -z "$SKIPCHECK" ]; then
RunPkgFunction check
fi
# Packaging all packages
for func in $(typeset -F | awk '{print $3}' | grep '^package'); do