]> andersk Git - gssapi-openssh.git/blame_incremental - bundle/make-bin-bundle
o Add the new gsi_openssh package (with pathnames fix) to the bundle
[gssapi-openssh.git] / bundle / make-bin-bundle
... / ...
CommitLineData
1#!/bin/sh
2#
3# Usage:
4#
5# 1) Verify that your GLOBUS_LOCATION is set to the installation from which you
6# wish to create a binary bundle.
7#
8# 2) Run the bin-bundle creation script, passing the platform name to it:
9#
10# ./make-bin-bundle <platform>
11#
12
13if [ "x$GLOBUS_LOCATION" = "x" ]; then
14 echo "Please set GLOBUS_LOCATION to the location from which you wish to make the binary bundle."
15 exit;
16fi
17
18if [ "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"
26 exit;
27fi
28
29source version.sh
30
31NAME="gsi_openssh_bundle-$VERSION-$1.tar.gz"
32XML="gsi_openssh_bundle-bin.xml"
33
34if [ ! -e output/$NAME ]; then
35 if [ ! -e output/ ]; then
36 mkdir -p output/
37 fi
38
39 if [ ! -e work/ ]; then
40 WORK_SCRIPTCREATED="1"
41 mkdir -p work/
42 cp $XML work/
43 fi
44
45 if [ ! -e work/sources/ ]; then
46 cp -a sources work/sources
47 fi
48
49 cd work/
50 $GPT_LOCATION/sbin/gpt-bundle -output=$NAME -bv=$VERSION -xml=$XML
51 mv $NAME ../output/
52 cd ../
53
54 if [ "x$WORK_SCRIPTCREATED" != "x" ]; then
55 rm -rf work/
56 fi
57else
58 echo "Please remove output/$NAME before running this script."
59 exit;
60fi
This page took 0.035589 seconds and 5 git commands to generate.