1#!/bin/sh -x 2 3if [ `uname -m` = "x86_64" ]; then 4 curl -o bkinst.bin http://www.bitkeeper.org/downloads/7.3.1ce/bk-7.3.1ce-x86_64-glibc219-linux.bin 5else 6 curl -o bkinst.bin http://www.bitkeeper.org/downloads/7.3.1ce/bk-7.3.1ce-x86-glibc219-linux.bin 7fi 8 9chmod +x bkinst.bin 10./bkinst.bin /usr/local/bitkeeper 11ln -s /usr/local/bitkeeper/bk /usr/local/bin/bk 12