]>
Commit | Line | Data |
---|---|---|
277eed3a | 1 | #!/bin/sh |
2 | # | |
3 | ||
f51c3235 | 4 | source ./scripts/version.sh |
81c61947 | 5 | |
6 | NAME="gsi_openssh_bundle-$VERSION-src.tar.gz" | |
73559cc1 | 7 | |
5ff39d34 | 8 | cd work/ |
430694ab | 9 | |
10 | # | |
11 | # create the bundle | |
12 | # | |
13 | ||
58b60d16 | 14 | $GPT_LOCATION/sbin/gpt-bundle -nodeps -srcdir=sources/ -output=$NAME gsi_openssh gsi_openssh_setup |
430694ab | 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/ | |
7ae00f8b | 22 | tar xvzf $NAME -C temp/ |
430694ab | 23 | cd temp/ |
24 | rm globus_core-99.tar.gz | |
4a92184d | 25 | cat packaging_list | grep -v 'globus_core' > packaging_list.new |
26 | mv packaging_list.new packaging_list | |
430694ab | 27 | |
28 | # | |
29 | # create the bundle (redux) | |
30 | # | |
31 | ||
32 | tar cvzf $NAME * | |
5ff39d34 | 33 | cd ../ |
430694ab | 34 | |
35 | # | |
36 | # place the bundle in the parent directory | |
37 | # | |
38 | ||
39 | mv temp/$NAME ../ |