File: updatepath

package info (click to toggle)
casacore 3.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,912 kB
  • sloc: cpp: 471,569; fortran: 16,372; ansic: 7,416; yacc: 4,714; lex: 2,346; sh: 1,865; python: 629; perl: 531; sed: 499; csh: 201; makefile: 32
file content (8 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#!/bin/sh

# Add casacore/ to the #include path for Casacore release 2.0.

for FILE in $*
do
  perl -p -i -e s'%(#\s*include\s*<\s*)(casa|tables|scimath|measures|lattices|images|ms|msfits|meas|derivedmscal|coordinates|mirlib|fits|python/Converters)/%\1casacore/\2/%' "$FILE"
done