]> andersk Git - gssapi-openssh.git/blame_incremental - bundle/make-src-bundle
o Move to gsi-openssh 2.3.
[gssapi-openssh.git] / bundle / make-src-bundle
... / ...
CommitLineData
1#!/bin/sh
2#
3# Usage:
4#
5# 1) Run the src-bundle creation script:
6#
7# ./make-src-bundle
8#
9
10source version.sh
11
12NAME="gsi_openssh_bundle-$VERSION-src.tar.gz"
13XML="gsi_openssh_bundle-src.xml"
14
15if [ ! -e output/$NAME ]; then
16 if [ ! -e output/ ]; then
17 mkdir -p output/
18 fi
19
20 if [ ! -e work/ ]; then
21 WORK_SCRIPTCREATED="1"
22 mkdir -p work/
23 cp $XML work/
24 fi
25
26 if [ ! -e work/sources/ ]; then
27 cp -a sources work/sources
28 fi
29
30 cd work/
31 $GPT_LOCATION/sbin/gpt-bundle -srcdir=sources/ -output=$NAME -bv=$VERSION -xml=$XML
32 mv $NAME ../output/
33 cd ../
34
35 if [ "x$WORK_SCRIPTCREATED" != "x" ]; then
36 rm -rf work/
37 fi
38else
39 echo "Please remove output/$NAME before running this script."
40 exit;
41fi
This page took 0.049216 seconds and 5 git commands to generate.