diff options
author | midipix <writeonce@midipix.org> | 2018-12-25 03:26:35 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-25 03:27:54 -0500 |
commit | fac32ecc9cd53e8e8716c583a940984f17fcc90f (patch) | |
tree | 1c22e53fb1ef05832e666ebbb2b4b0321d87a8c3 /sysinfo | |
parent | 2d66926d3362f44f43766b9561be46587a5de8d8 (diff) | |
download | sbpython2-fac32ecc9cd53e8e8716c583a940984f17fcc90f.tar.bz2 sbpython2-fac32ecc9cd53e8e8716c583a940984f17fcc90f.tar.xz |
build system: version.sh: cvdate: fallback to $(date) as needed.
Diffstat (limited to 'sysinfo')
-rwxr-xr-x | sysinfo/version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysinfo/version.sh b/sysinfo/version.sh index 02dd5d5..6cbdc12 100755 --- a/sysinfo/version.sh +++ b/sysinfo/version.sh @@ -54,7 +54,7 @@ fi cd "$srcdir" gitver=$(git rev-parse --verify HEAD 2>/dev/null) || gitver="unknown" -cvdate=$(git show -s --format=%ci $gitver) +cvdate=$(git show -s --format=%ci $gitver) || cvdate=$(date) vmacro=$(printf '%s' "$prefix"'_GIT_VERSION' | tr '[:lower:]' '[:upper:]') dmacro=$(printf '%s' "$prefix"'_GIT_DATE ' | tr '[:lower:]' '[:upper:]') |