#!/bin/bash export LD_ASSUME_KERNEL=2.4.1 DIR=$(dirname $0) cd "$DIR" if [ \! -e "$DIR/temp" ] ; then mkdir "$DIR/temp" fi if [ -e bugs.so ] ; then ./cbugs "$DIR" "$DIR/temp" "/bugs.so" else ./cbugs "$DIR" "$DIR/temp" "/brugs.so" fi