removed \r characters from detect_os.sh
This commit is contained in:
parent
596c570756
commit
cae29d6395
@ -1 +1 @@
|
||||
2.2.2
|
||||
2.2.3
|
||||
@ -1,3 +1,6 @@
|
||||
## 2.2.3
|
||||
+ removed `\r` characters from `detect_os.sh`
|
||||
|
||||
## 2.2.2
|
||||
+ `bootstrap.sh` can show help for cbuild installations again
|
||||
+ copy dependency out files only if they are newer or don't exist
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
INSTALLED_CBUILD_VERSION=2.2.2
|
||||
INSTALLED_CBUILD_VERSION=2.2.3
|
||||
|
||||
# set \t size to 4 spaces
|
||||
tabs 4
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
CBUILD_VERSION=2.2.2
|
||||
CBUILD_VERSION=2.2.3
|
||||
|
||||
PROJECT="%PROJECT_NAME%"
|
||||
CMP_C="gcc"
|
||||
|
||||
12
detect_os.sh
12
detect_os.sh
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
!/usr/bin/env bash
|
||||
|
||||
include "cbuild/myprint.sh"
|
||||
nclude "cbuild/myprint.sh"
|
||||
|
||||
function detect_os {
|
||||
unction detect_os {
|
||||
local uname_result="$(uname -o)"
|
||||
# myprint "uname result: '$uname_result'"
|
||||
case "$uname_result" in
|
||||
@ -22,9 +22,9 @@ function detect_os {
|
||||
error "unknown operating system: $uname_result"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
function detect_arch {
|
||||
|
||||
unction detect_arch {
|
||||
local uname_result="$(uname -m)"
|
||||
case "$uname_result" in
|
||||
arm | arm32 | armhf | aarch32)
|
||||
@ -43,4 +43,4 @@ function detect_arch {
|
||||
error "unknown CPU architecture: $uname_result"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user