CALCHEP=$1

echo char \* rootDir=\"$CALCHEP\"\;  > c_source/num/include/rootDir.h 

for FILE in  bin/mkLibstat bin/mkLibshared
do
  echo ": 
  CALCHEP=$CALCHEP "  > tmp_file
  sed 1,2d  $FILE >> tmp_file
  mv tmp_file $FILE
  chmod 755 $FILE
done
