#!/bin/sh # Usage is: # ./configure [options] # # This shell script configures iRODS based upon user options and # features of the current platform. # # Type "configure --help" for a list of options. # runfile="configure.pl" for dir in "./scripts" "." "../scripts" "../../scripts"; do if [ -d $dir -a -f $dir/runperl -a -f $dir/perl/$runfile ]; then $dir/runperl --script $dir/perl/$runfile $* ExitCode="$?" exit $ExitCode fi done echo "Usage error:" echo " Please run this script from the top-level directory" echo " of the iRODS distribution." exit 1