修复重启时进行资产状态检测空指针的问题
This commit is contained in:
15
get_arch.sh
Normal file
15
get_arch.sh
Normal file
@ -0,0 +1,15 @@
|
||||
ARCH="$(arch)"
|
||||
case "$ARCH" in
|
||||
'x86_64')
|
||||
export ARCH='amd64'
|
||||
echo $ARCH
|
||||
;;
|
||||
'aarch64')
|
||||
export ARCH='arm64'
|
||||
echo $ARCH
|
||||
;;
|
||||
*)
|
||||
export ARCH=$ARCH
|
||||
echo $ARCH
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user