Skip to content

Commit

Permalink
Fix rid install
Browse files Browse the repository at this point in the history
  • Loading branch information
creasty committed Mar 24, 2017
1 parent ef738dd commit 036f6b6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rid/libexec/rid-install
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
set -eu
set -o pipefail

OS="$(uname -s | awk '{ print tolower($0) }')"
ARCH="$(uname -m)"
[[ "$ARCH" =~ _64$ ]] && ARCH='amd64'

cp -f "./dist/$OS-$ARCH/rid" /usr/local/bin/
[ -f ./bin/rid ] || rid make
cp -f ./bin/rid /usr/local/bin/

0 comments on commit 036f6b6

Please sign in to comment.