]> andersk Git - gssapi-openssh.git/commitdiff
o Add easy version setting to the bundle module.
authorcphillip <cphillip>
Thu, 3 Apr 2003 16:02:30 +0000 (16:02 +0000)
committercphillip <cphillip>
Thu, 3 Apr 2003 16:02:30 +0000 (16:02 +0000)
bundle/make-bin-bundle
bundle/make-src-bundle
bundle/version.sh [new file with mode: 0644]

index e9a44703aa411b2beec6a019dee8f63088110ef0..78d6517c10160f53805e8a58e9b528122c9fceab 100755 (executable)
 #        ./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
 
index 9f2e46619530eace8cbafc1b730c700327883e38..fd8c96e0947a06310164a80167a5a1ea9eddd89b 100755 (executable)
@@ -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 (file)
index 0000000..fc4be42
--- /dev/null
@@ -0,0 +1 @@
+VERSION="2.1"
This page took 0.217492 seconds and 5 git commands to generate.