Merge pull request #25 from Jakeler/master
Replace `arch` with `uname -m`
This commit is contained in:
commit
15a9839939
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ AR_PLATFORMIO_PY="$AR_TOOLS/platformio-build.py"
|
||||||
AR_ESPTOOL_PY="$AR_TOOLS/esptool.py"
|
AR_ESPTOOL_PY="$AR_TOOLS/esptool.py"
|
||||||
AR_GEN_PART_PY="$AR_TOOLS/gen_esp32part.py"
|
AR_GEN_PART_PY="$AR_TOOLS/gen_esp32part.py"
|
||||||
AR_SDK="$AR_TOOLS/sdk"
|
AR_SDK="$AR_TOOLS/sdk"
|
||||||
OSBITS=`arch`
|
OSBITS=`uname -m`
|
||||||
|
|
||||||
function get_os(){
|
function get_os(){
|
||||||
if [[ "$OSTYPE" == "linux"* ]]; then
|
if [[ "$OSTYPE" == "linux"* ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue