#! /bin/sh # we include the paths of the original install directories for reference orig_prefix="/afs/cern.ch/sw/lcg/app/releases/GEANT4/clhep/2.2.0.8/x86_64-cc7-gcc48-opt" orig_exec_prefix="${prefix}" orig_includedir="${prefix}/include" # use the full name of this script to get the current path configpath=`dirname ${0}` # check for a leading slash to determine if this is a relative path firstc=`expr ${configpath} : "\/"` calldir=`pwd` if [ ${firstc} -eq 0 ] then cd "${calldir}/${configpath}"; newpath=`pwd` binpath=${newpath} else binpath=${configpath} fi # OK - now we have to strip the trailing "/bin" out of the path prefix=`dirname "${binpath}"` includedir=${prefix}/include libdir=${prefix}/lib usage() { cat <