adapted setup for arm64 Darwin version of cdbm
This commit is contained in:
parent
540260c324
commit
993e307bd3
12
setup.sh
12
setup.sh
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
#set -x
|
||||
|
||||
dotPath=".config/dotfiles"
|
||||
|
||||
|
@ -17,7 +19,15 @@ else
|
|||
OS=`uname`
|
||||
case "$OS" in
|
||||
Darwin)
|
||||
cp $dotPath/cdbm/Darwin/cdbm /usr/local/bin
|
||||
ARCH=`uname -m`
|
||||
case "$ARCH" in
|
||||
arm64)
|
||||
cp $dotPath/cdbm/Darwin/arm64/cdbm /usr/local/bin
|
||||
;;
|
||||
*)
|
||||
cp $dotPath/cdbm/Darwin/x86_64/cdbm /usr/local/bin
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
Linux)
|
||||
cp $dotPath//cdbm/Linux/cdbm /usr/local/bin
|
||||
|
|
Loading…
Reference in New Issue