#!/bin/tcsh -f # This script must be run in the directory $HEADAS/.. , # where the subdirectories Xspec and spectral reside. set patch = `pwd`/../../patch_xspec_model.dat echo "patch: $patch" echo cd Xspec/src/manager echo "in directory "`pwd` patch < $patch cd ../../.. echo cd spectral/manager echo "in directory "`pwd` patch < $patch cd ../..