Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Jan 8, 2025
1 parent b14bd82 commit db93369
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/runner/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ setup_env()
BUILD_DIR="$(mktemp -d --tmpdir=${SYSTMP}/pkgforge XXXXXXX_$(basename "${INPUT_SBUILD}" | tr -d 'X'))"
SBUILD_OUTDIR="${BUILD_DIR}/SBUILD_OUTDIR"
SBUILD_TMPDIR="${SBUILD_OUTDIR}/SBUILD_TMPDIR"
mkdir -pv "${SBUILD_TMPDIR}" ; cp -fv "${INPUT_SBUILD}" "${SBUILD_OUTDIR}/SBUILD"
mkdir -p "${SBUILD_TMPDIR}"
export BUILD_DIR INPUT_SBUILD SBUILD_OUTDIR SBUILD_TMPDIR
#echo -e "\n[+] Building ["$(echo "${RECIPE}" | awk -F'/' '{print $(NF-1) "/" $NF}')"] (${INPUT_SBUILD}) --> ${SBUILD_OUTDIR} [$(TZ='UTC' date +'%A, %Y-%m-%d (%I:%M:%S %p)') UTC]\n"
echo -e "\n[+] Building (${SBUILD_SCRIPT_BLOB:-${RECIPE}}) --> ${SBUILD_OUTDIR} [$(TZ='UTC' date +'%A, %Y-%m-%d (%I:%M:%S %p)') UTC]\n"
echo -e "\n" && echo '###################################################################' && \
cat "${INPUT_SBUILD}" && echo -e "\n" && echo '###################################################################' && echo -e "\n\n"
cp -fv "${INPUT_SBUILD}" "${SBUILD_OUTDIR}/SBUILD"
echo "export INPUT_SBUILD='${INPUT_SBUILD}'" > "${OCWD}/ENVPATH"
echo "export BUILD_DIR='${BUILD_DIR}'" >> "${OCWD}/ENVPATH"
echo "export SBUILD_OUTDIR='${SBUILD_OUTDIR}'" >> "${OCWD}/ENVPATH"
Expand Down

0 comments on commit db93369

Please sign in to comment.