make-setup-generated.sh: get version from spec string
PATCH 1/1 make-setup-generated.sh: get version from spec string
Signed-off-by Michael S. Tsirkin <[email protected]>
--- make-setup-generated.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
make-setup-generated.sh +2 -1
@@ -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*)
Signature · 18 lines
MST This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: [email protected] Unsubscribe: [email protected] List help: [email protected] List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/
Quoted 4 lines · Michael S. Tsirkin
Signed-off-by Michael S. Tsirkin <[email protected]>--- make-setup-generated.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by Cornelia Huck <[email protected]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]