Signed-off-by: Michael S. Tsirkin <[email protected]>
---
make-setup-generated.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/make-setup-generated.sh b/make-setup-generated.sh
index f15d148..2c5c7f8 100755
--- a/make-setup-generated.sh
+++ b/make-setup-generated.sh
@@ -1,6 +1,5 @@
#! /bin/sh
-VERSION=1.1
DATESTR=${DATESTR:-`cat REVISION-DATE 2>/dev/null`}
if [ x"$DATESTR" = x ]; then
ISODATE=`git show --format=format:'%cd' --date=iso | head -n 1`
@@ -40,6 +39,8 @@ case "$1" in
exit 1
esac
+VERSION=`echo "$1"| sed -e 's/virtio-v//' -e 's/-.*//'`
+
#Prepend OASIS unless already there
case "$STAGENAME" in
OASIS*)
--
MST
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]