# ./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
# ./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