]> andersk Git - gssapi-openssh.git/blob - bundle/scripts/make-src-bundle
gssapi-openssh cvs moved from
[gssapi-openssh.git] / bundle / scripts / make-src-bundle
1 #!/bin/sh
2 #
3
4 source ./scripts/version.sh
5
6 NAME="gsi_openssh_bundle-$VERSION-src.tar.gz"
7
8 cd work/
9
10 #
11 # create the bundle
12 #
13
14 $GPT_LOCATION/sbin/gpt-bundle -nodeps -srcdir=sources/ -output=$NAME gsi_openssh gsi_openssh_setup
15 mv sources/gsi_openssh_bundle-$VERSION-src_src.tar.gz $NAME
16
17 #
18 # remove globus_core from it
19 #
20
21 mkdir -p temp/
22 tar xvzf $NAME -C temp/
23 cd temp/
24 rm globus_core-99.tar.gz
25 cat packaging_list | grep -v 'globus_core' > packaging_list.new
26 mv packaging_list.new packaging_list
27
28 #
29 # create the bundle (redux)
30 #
31
32 tar cvzf $NAME *
33 cd ../
34
35 #
36 # place the bundle in the parent directory
37 #
38
39 mv temp/$NAME ../
This page took 0.038246 seconds and 5 git commands to generate.