From 3766328a09ef9085ce209f63bc142639f868ce71 Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Fri, 27 Jun 2014 16:27:31 +0000 Subject: setup: allow overriding date from environment git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@405 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- make-setup-generated.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make-setup-generated.sh') diff --git a/make-setup-generated.sh b/make-setup-generated.sh index 2525702..02c58b5 100755 --- a/make-setup-generated.sh +++ b/make-setup-generated.sh @@ -1,7 +1,7 @@ #! /bin/sh VERSION=1.0 -DATESTR=`cat REVISION-DATE 2>/dev/null` +DATESTR=${DATESTR:-`cat REVISION-DATE 2>/dev/null`} if [ x"$DATESTR" = x ]; then ISODATE=`git show --format=format:'%cd' --date=iso | head -n 1` DATESTR=`date -d "$DATE" +'%d %B %Y'` -- cgit v1.2.3