xref: /OpenGrok/dev/install-bitkeeper.sh (revision aba5f4cfa2c1e3b23f361154964fa1362975605b)
1*aba5f4cfSVladimir Kotal#!/bin/sh -x
2*aba5f4cfSVladimir Kotal
3*aba5f4cfSVladimir Kotalif [ `uname -m` = "x86_64" ]; then
4*aba5f4cfSVladimir Kotal    curl -o bkinst.bin http://www.bitkeeper.org/downloads/7.3.1ce/bk-7.3.1ce-x86_64-glibc219-linux.bin
5*aba5f4cfSVladimir Kotalelse
6*aba5f4cfSVladimir Kotal    curl -o bkinst.bin http://www.bitkeeper.org/downloads/7.3.1ce/bk-7.3.1ce-x86-glibc219-linux.bin
7*aba5f4cfSVladimir Kotalfi
8*aba5f4cfSVladimir Kotal
9*aba5f4cfSVladimir Kotalchmod +x bkinst.bin
10*aba5f4cfSVladimir Kotal./bkinst.bin /usr/local/bitkeeper
11*aba5f4cfSVladimir Kotalln -s /usr/local/bitkeeper/bk /usr/local/bin/bk
12