File: pvmtmparch

package info (click to toggle)
pvm 3.4.5-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,480 kB
  • ctags: 6,227
  • sloc: ansic: 71,630; makefile: 1,216; fortran: 631; sh: 511; csh: 73; asm: 37
file content (22 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
# $Id: pvmtmparch,v 1.1 1997/05/19 15:07:52 pvmsrc Exp $
#
# pvmtmparch.sh
#
# Generate temporary PVM architecture string.
#
# First check for existing env var $PVM_ARCH.
#
# If not set, then just call "pvmgetarch".
#

if [ "#$PVM_ARCH#" != "##" ]; then
	echo "$PVM_ARCH"
else
	here="`dirname $0`"
	echo "`$here/pvmgetarch`"
fi

exit