diff options
author | MatMoul <matmoul@gmail.com> | 2020-01-11 02:38:21 +0100 |
---|---|---|
committer | MatMoul <matmoul@gmail.com> | 2020-01-11 02:38:21 +0100 |
commit | bf31f4b350892404a78477076eae53fab433393d (patch) | |
tree | 4fb9fa180d21eff795c63b732e021517a69172bb | |
parent | 390377322d34ec44206ced6b8c243ce34e3a12bd (diff) | |
download | hyperfi-bf31f4b350892404a78477076eae53fab433393d.tar.lz hyperfi-bf31f4b350892404a78477076eae53fab433393d.tar.xz hyperfi-bf31f4b350892404a78477076eae53fab433393d.zip |
Update test args
-rw-r--r-- | archfi | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1830,14 +1830,18 @@ while (( "$#" )); do --help) echo "archfi" echo "------" - echo "-sf | --skip-font Skip setfont from language files" - echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst" - echo "-t | --test ghusername ghbranch Test language files" + echo "-sf | --skip-font Skip setfont from language files" + echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst" + echo "-t | --test ghusername ghbranch Test archfi script and language" exit 0 ;; -sf | --skip-font) skipfont=1;; - -t | --test) baseurl="https://raw.githubusercontent" - baseurl="${baseurl}.com/""${2}/archfi/${3}";; + -t | --test) + wget -O archfi https://raw.githubusercontent.com/${2}/archfi/${3}/archfi + sh archfi -tt ${2} ${3} + exit 0 + ;; + -tt) baseurl="https://raw.githubusercontent.com/${2}/archfi/${3}";; -efi0) efimode=0;; -efi1) eficomputer=1 |