File: pslvars.csh

package info (click to toggle)
bergman 1.001%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 12,608 kB
  • sloc: csh: 1,690; lisp: 1,459; sh: 747; ansic: 57; haskell: 36; makefile: 12
file content (13 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/csh
# extracts $MACHINE and $proot settings from executable psl.
# The result is (hopefully) a file tmpvars, sourcing of which sets
# the variables.

## $tmpPSL should be set to an executable psl  before executing this.

rm -f tmpvars*
setenv tmpPSL /usr/local/bin/psl

$tmpPSL <auxil/fpslvars.sl

cat auxil/fpslv1 tmpvars1 auxil/fpslv2 tmpvars2 auxil/fpslv4 tmpvars4 > tmpvars