]>
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 | ||
30a59f89 | 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/ | |
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 * | |
5ff39d34 | 32 | cd ../ |
430694ab | 33 | |
34 | # | |
35 | # place the bundle in the parent directory | |
36 | # | |
37 | ||
38 | mv temp/$NAME ../ |