]> andersk Git - gssapi-openssh.git/blame - bundle/make-bin-bundle
o Change bundle definition from including static packages to including
[gssapi-openssh.git] / bundle / make-bin-bundle
CommitLineData
277eed3a 1#!/bin/sh
f9b8b363 2#
7e64a5bc 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:
9#
10# ./make-bin-bundle
f9b8b363 11#
277eed3a 12
73559cc1 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
81c61947 18source version.sh
19
20NAME="gsi_openssh_bundle-$VERSION-i686-pc-linux-gnu.tar.gz"
73559cc1 21XML="gsi_openssh_bundle-bin.xml"
22
23if [ ! -e output/$NAME ]; then
24 if [ ! -e output/ ]; then
25 mkdir -p output/
26 fi
27
28 if [ ! -e work/ ]; then
29 WORK_SCRIPTCREATED="1"
30 mkdir -p work/
31 cp $XML work/
32 fi
277eed3a 33
73559cc1 34 if [ ! -e work/sources/ ]; then
35 cp -a sources work/sources
36 fi
37
38 cd work/
39 $GPT_LOCATION/sbin/gpt-bundle -output=$NAME -bv=$VERSION -xml=$XML
40 mv $NAME ../output/
41 cd ../
42
43 if [ "x$WORK_SCRIPTCREATED" != "x" ]; then
44 rm -rf work/
45 fi
658bc8e1 46else
73559cc1 47 echo "Please remove output/$NAME before running this script."
48 exit;
277eed3a 49fi
This page took 0.129678 seconds and 5 git commands to generate.