From: cphillip Date: Thu, 3 Apr 2003 16:02:30 +0000 (+0000) Subject: o Add easy version setting to the bundle module. X-Git-Tag: OPENSSH_GSI_GPT_2_1~2 X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/commitdiff_plain/81c61947c17b81b466ebcfa815a1645e3a9a42b9 o Add easy version setting to the bundle module. --- diff --git a/bundle/make-bin-bundle b/bundle/make-bin-bundle index e9a4470..78d6517 100755 --- a/bundle/make-bin-bundle +++ b/bundle/make-bin-bundle @@ -10,9 +10,13 @@ # ./make-bin-bundle # -NAME="gsi_openssh_bundle-2.1-i686-pc-linux-gnu.tar.gz" +source version.sh + +NAME="gsi_openssh_bundle-$VERSION-i686-pc-linux-gnu.tar.gz" if [ ! -e $NAME ]; then - $GPT_LOCATION/sbin/gpt-bundle -output=$NAME -xml=gsi_openssh_bundle-bin.xml + $GPT_LOCATION/sbin/gpt-bundle -output=$NAME -bv=$VERSION -xml=gsi_openssh_bundle-bin.xml +else; then + echo "Please remove $NAME before running this script." fi diff --git a/bundle/make-src-bundle b/bundle/make-src-bundle index 9f2e466..fd8c96e 100755 --- a/bundle/make-src-bundle +++ b/bundle/make-src-bundle @@ -7,8 +7,12 @@ # ./make-src-bundle # -NAME="gsi_openssh_bundle-2.1-src.tar.gz" +source version.sh + +NAME="gsi_openssh_bundle-$VERSION-src.tar.gz" if [ ! -e $NAME ]; then - $GPT_LOCATION/sbin/gpt-bundle -srcdir=sources/ -output=$NAME -xml=gsi_openssh_bundle-src.xml + $GPT_LOCATION/sbin/gpt-bundle -srcdir=sources/ -output=$NAME -bv=$VERSION -xml=gsi_openssh_bundle-src.xml +else; then + echo "Please remove $NAME before running this script." fi diff --git a/bundle/version.sh b/bundle/version.sh new file mode 100644 index 0000000..fc4be42 --- /dev/null +++ b/bundle/version.sh @@ -0,0 +1 @@ +VERSION="2.1"