1#!/bin/csh -f 2# Script to change the PROOT variable in a specified Makefile 3# Usage: chmakehost.csh <Makefile path> 4# 5# ex: chmakehost.csh $psl/Makefile 6 7set file = $1 8 9set proot = `echo $proot` 10 11echo "Changing PROOT for $file" 12 13sed -e "s,\(PROOT.*=\) .*,\1 $proot,g" $file > $file.munge 14 15mv -f $file.munge $file 16 17# End of File. 18