diff options
author | Kevin McCarthy <kevin@8t8.us> | 2018-06-03 14:40:31 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2018-06-03 14:40:31 -0700 |
commit | 33290d1263740b56e1b84604c8670fcd76bbc617 (patch) | |
tree | 40e7d6adb25c5df8ccc4b87482a50e84fd118163 /mkreldate.sh | |
parent | ec96f5f5941e05fa79a8b15a02490ccca798322a (diff) |
Switch build scripts to use `` instead of $()
This is for older systems running Bourne shell as /bin/sh.
Diffstat (limited to 'mkreldate.sh')
-rwxr-xr-x | mkreldate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkreldate.sh b/mkreldate.sh index b9be6373..927967d5 100755 --- a/mkreldate.sh +++ b/mkreldate.sh @@ -3,9 +3,9 @@ # Generates the reldate.h contents from either git or the ChangeLog file if [ -r ".git" ] && command -v git >/dev/null 2>&1; then - reldate=$(TZ=UTC git log -1 --date=format-local:"%F" --pretty=format:"%cd") + reldate=`TZ=UTC git log -1 --date=format-local:"%F" --pretty=format:"%cd"` else - reldate=$(head -n 1 ChangeLog | LC_ALL=C cut -d ' ' -f 1) + reldate=`head -n 1 ChangeLog | LC_ALL=C cut -d ' ' -f 1` fi echo $reldate |