]> andersk Git - gssapi-openssh.git/blob - bundle/scripts/make-src-bundle
o Remove globus_core from the bundle.
[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 foo/
23 cd temp/
24 rm globus_core-99.tar.gz
25 cat packaging_list | grep -v 'globus_core' > packaging_list
26
27 #
28 # create the bundle (redux)
29 #
30
31 tar cvzf $NAME *
32 cd ../
33
34 #
35 # place the bundle in the parent directory
36 #
37
38 mv temp/$NAME ../
This page took 0.173809 seconds and 5 git commands to generate.