diff options
author | Ben V. Brown <[email protected]> | 2024-02-23 10:19:07 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-23 10:19:07 +1100 |
commit | 9f6f2f86ffe00fd7e38e083d8aef99a3db1e4a5c (patch) | |
tree | 453a6bb5d3d0128a7a54af4dc6c77becbc3059e8 /source/build.sh | |
parent | baf2f26e59da8408ce49cf072441ea0ee69a41c6 (diff) | |
download | IronOS-9f6f2f86ffe00fd7e38e083d8aef99a3db1e4a5c.tar.gz IronOS-9f6f2f86ffe00fd7e38e083d8aef99a3db1e4a5c.zip |
Add S60P init code (#1884)
* Basic Init
* Add S60P to CI
Diffstat (limited to 'source/build.sh')
-rwxr-xr-x | source/build.sh | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/source/build.sh b/source/build.sh index be284183..53671a16 100755 --- a/source/build.sh +++ b/source/build.sh @@ -6,7 +6,7 @@ TRANSLATION_DIR="../Translations" # AVAILABLE_LANGUAGES will be calculating according to json files in $TRANSLATION_DIR AVAILABLE_LANGUAGES=() BUILD_LANGUAGES=() -AVAILABLE_MODELS=("TS100" "TS80" "TS80P" "Pinecil" "MHP30" "Pinecilv2" "S60" "TS101") +AVAILABLE_MODELS=("TS100" "TS80" "TS80P" "Pinecil" "MHP30" "Pinecilv2" "S60" "S60P" "TS101") BUILD_MODELS=() builder_info() { @@ -47,8 +47,8 @@ INFO : exit 1 } -StartBuild(){ - read -n 1 -r -s -p $'Press Enter to start the building process...\n' +StartBuild() { + read -n 1 -r -s -p $'Press Enter to start the building process...\n' } checkLastCommand() { @@ -87,17 +87,17 @@ declare -a largs=() while getopts "h:l:m:" option; do case "${option}" in - h) - usage - ;; - l) - IFS=' ' read -r -a largs <<< "${OPTARG}" - ;; - m) - IFS=' ' read -r -a margs <<< "${OPTARG}" - ;; - *) - usage + h) + usage + ;; + l) + IFS=' ' read -r -a largs <<<"${OPTARG}" + ;; + m) + IFS=' ' read -r -a margs <<<"${OPTARG}" + ;; + *) + usage ;; esac done |