Skip to content

Commit

Permalink
chore: Update from twpayne/chezmoi@1418f74
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jan 25, 2024
1 parent a28be28 commit 38a1991
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
case "${os}" in
cygwin_nt*) goos="windows" ;;
linux)
if is_command termux-info; then
goos=android
else
goos=linux
fi
;;
mingw*) goos="windows" ;;
msys_nt*) goos="windows" ;;
*) goos="${os}" ;;
Expand All @@ -142,6 +149,7 @@

check_goos_goarch() {
case "${1}" in
android/arm64) return 0 ;;
darwin/amd64) return 0 ;;
darwin/arm64) return 0 ;;
freebsd/386) return 0 ;;
Expand Down
8 changes: 8 additions & 0 deletions lb
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ get_goos() {
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
case "${os}" in
cygwin_nt*) goos="windows" ;;
linux)
if is_command termux-info; then
goos=android
else
goos=linux
fi
;;
mingw*) goos="windows" ;;
msys_nt*) goos="windows" ;;
*) goos="${os}" ;;
Expand All @@ -142,6 +149,7 @@ get_goarch() {

check_goos_goarch() {
case "${1}" in
android/arm64) return 0 ;;
darwin/amd64) return 0 ;;
darwin/arm64) return 0 ;;
freebsd/386) return 0 ;;
Expand Down

0 comments on commit 38a1991

Please sign in to comment.