Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Feb 4, 2025
1 parent 5ad8330 commit 0cca2b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/runner/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ gen_json_from_sbuild()
SBUILD_PKG="$(echo "${pkg}.${pkg_type}" | sed 's/\.$//' | tr -d '[:space:]')"
export pkg pkg_id pkg_type SBUILD_PKG
echo "export SBUILD_PKG='${SBUILD_PKG}'" >> "${OCWD}/ENVPATH"
echo "export SBUILD_PKG_ID='${PKG_ID}'" >> "${OCWD}/ENVPATH"
if [ "$(echo "${SBUILD_PKG}" | tr -d '[:space:]' | wc -c | tr -cd '0-9')" -le 1 ]; then
echo -e "\n[✗] FATAL: ${SBUILD_PKG} ('.pkg+.pkg_type') is less than 1 Character\n"
export CONTINUE_SBUILD="NO"
Expand Down

0 comments on commit 0cca2b5

Please sign in to comment.