diff options
author | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-06-27 16:27:31 +0000 |
---|---|---|
committer | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-06-27 16:27:31 +0000 |
commit | 3766328a09ef9085ce209f63bc142639f868ce71 (patch) | |
tree | cceab4a8c071bd70adef43c71a1f6f009618e9b1 /make-setup-generated.sh | |
parent | e318ba3419a06b4da124ced908834f80c6ee137b (diff) |
setup: allow overriding date from environment
git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@405 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'make-setup-generated.sh')
-rwxr-xr-x | make-setup-generated.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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'` |