1
1

Clarification on useage to supply command line -p. Futher error checking on the

command line args for the call.

This commit was SVN r11183.
Этот коммит содержится в:
Dan Lacher 2006-08-14 19:33:19 +00:00
родитель 474564a6b1
Коммит e5ebc3359f

13
contrib/dist/solaris/bld_solaris_pkgs поставляемый
Просмотреть файл

@ -30,7 +30,7 @@
# --libdir=/opt/SUNWhpc/HPC7.0/lib --includedir=/opt/SUNWhpc/HPC7.0/include
# % make DESTDIR=/path/to/ompi-trunk/vpath/proto install
# % cd ../../contrib/dist/solaris
# % ./bld_solaris_pkgs /path/to/vpath/proto/opt/SUNWhpc/HPC7.0
# % ./bld_solaris_pkgs -p /path/to/vpath/proto/opt/SUNWhpc/HPC7.0
#
# (amd/i386 build)
# % cd vpath/64
@ -49,7 +49,11 @@
# --libdir=/opt/SUNWhpc/HPC7.0/lib --includedir=/opt/SUNWhpc/HPC7.0/include
# % make DESTDIR=/path/to/ompi-trunk/vpath/proto install
# % cd ../../contrib/dist/solaris
# % ./bld_solaris_pkgs /path/to/vpath/proto/opt/SUNWhpc/HPC7.0
# % ./bld_solaris_pkgs -p /path/to/vpath/proto/opt/SUNWhpc/HPC7.0
#
# The packages will be built into
# .../ompi-trunk/contrib/dist/solaris/$PLATFORM/$ARCH/$DATE unless otherwise
# specified by the -b option to bld_solaris_pkgs
#
# This is not the ideal case for long term use. There needs to be changes to
# build dynamic packages instead of the static packages we have now.
@ -205,6 +209,11 @@ do
esac
done
if [ ! ${PROTO} ] ; then
usage
exit 1
fi
if [ ! -d ${PROTO} ]; then
print "Error: the proto space ${PROTO} does not exist."
usage