5 # 1) Verify that your GLOBUS_LOCATION is set to the installation from which you
6 # wish to create a binary bundle.
8 # 2) Run the bin-bundle creation script, passing the platform name to it:
10 # ./make-bin-bundle <platform>
13 if [ "x$GLOBUS_LOCATION" = "x" ]; then
14 echo "Please set GLOBUS_LOCATION to the location from which you wish to make the binary bundle."
18 if [ "x$1" = "x" ]; then
19 echo "Usage: make-bin-bundle <platform>"
20 echo "Example platforms:"
21 echo " i686-pc-linux-gnu-gcc32"
22 echo " sparc-sun-solaris2.8-vendorcc32"
23 echo " ia64-unknown-linux-gnu-gcc64"
24 echo " mips-sgi-irix6.5-vendorcc32"
25 echo " powerpc-ibm-aix5.1.0.0-vendorcc32"
31 NAME="gsi_openssh_bundle-$VERSION-$1.tar.gz"
32 XML="gsi_openssh_bundle-bin.xml"
34 if [ ! -e output/$NAME ]; then
35 if [ ! -e output/ ]; then
39 if [ ! -e work/ ]; then
40 WORK_SCRIPTCREATED="1"
45 if [ ! -e work/sources/ ]; then
46 cp -a sources work/sources
50 $GPT_LOCATION/sbin/gpt-bundle -output=$NAME -bv=$VERSION -xml=$XML
54 if [ "x$WORK_SCRIPTCREATED" != "x" ]; then
58 echo "Please remove output/$NAME before running this script."