Skip to content

Commit

Permalink
print version
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Jan 5, 2025
1 parent 7947521 commit b0865d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/runner/functions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env bash

# VERSION=1.4.9

#-------------------------------------------------------#
## <DO NOT RUN STANDALONE, meant for CI Only>
## Meant to Set Env for Build
Expand All @@ -21,6 +19,9 @@
##Sets Dirs & Vars
setup_env()
{
##Version
SBF_VERSION="1.5.0" && echo -e "[+] SBUILD Functions Version: ${SBF_VERSION}" ; unset SBF_VERSION
##Input
INPUT_SBUILD="${1:-$(echo "$@" | tr -d '[:space:]')}"
INPUT_SBUILD_PATH="$(realpath ${INPUT_SBUILD})" ; export INPUT_SBUILD="${INPUT_SBUILD_PATH}"
if [[ ! -s "${INPUT_SBUILD}" || $(stat -c%s "${INPUT_SBUILD}") -le 10 ]]; then
Expand Down

0 comments on commit b0865d5

Please sign in to comment.