~ubuntu-branches/ubuntu/feisty/pvm/feisty

« back to all changes in this revision

Viewing changes to lib/pvmd

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2006-08-09 00:00:40 UTC
  • mfrom: (2.1.5 dapper)
  • Revision ID: james.westby@ubuntu.com-20060809000040-16kh33tmxx2em716
Tags: 3.4.5-7
Build with SHELL=/bin/bash in debian/rules; fixes FTBFS when /bin/sh
isn't bash. (Closes: #379543)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
 
#       $Id: pvmd,v 1.3 1997/08/28 20:13:16 pvmsrc Exp $
 
3
#       $Id: pvmd,v 1.5 2000/02/14 20:30:37 pvmsrc Exp $
4
4
#
5
5
#       Start the appropriate pvmd3.
6
6
#       If PVM_ROOT is not set in environment,
84
84
        echo "Make sure PVM is built and PVM_ROOT is set correctly" >&2
85
85
        exit 1
86
86
fi
87
 
exec $PVM_ROOT/lib/$PVM_ARCH/pvmd3$sfx $@
88
 
exit 1
 
87
 
 
88
case "x$PVMD_NOHOLD" in x | xNO )
 
89
        exec $PVM_ROOT/lib/$PVM_ARCH/pvmd3$sfx $@
 
90
;;
 
91
* )
 
92
        # Don't hold shell - put pvmd3 in background
 
93
        # (apparently helps with init scripts in RedHat Linux)
 
94
        #     - change submitted by "Mike Wangsmo" <wanger@redhat.com>
 
95
        $PVM_ROOT/lib/$PVM_ARCH/pvmd3$sfx $@ &
 
96
;; esac
 
97
 
 
98
exit 0
89
99