summaryrefslogtreecommitdiff
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-23 01:50:24 -0500
committermidipix <writeonce@midipix.org>2018-12-24 10:51:57 -0500
commit00ade6a445779622d5a89c8720def7a7ce217ebe (patch)
treebdbb0c299888a2c5f03ec6822fe7fc06a7b2abf4 /sysinfo
parent499e18ef868b31318dd97c2b98dea2e7ef86682f (diff)
downloadbfirm-00ade6a445779622d5a89c8720def7a7ce217ebe.tar.bz2
bfirm-00ade6a445779622d5a89c8720def7a7ce217ebe.tar.xz
bulid system: version.sh: sub-shell syntax: replace backquotes with $().
Diffstat (limited to 'sysinfo')
-rwxr-xr-xsysinfo/version.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysinfo/version.sh b/sysinfo/version.sh
index 0b948bc..1c1467a 100755
--- a/sysinfo/version.sh
+++ b/sysinfo/version.sh
@@ -51,11 +51,11 @@ fi
cd "$srcdir" || exit 2
-gitver=`git rev-parse --verify HEAD 2>/dev/null` || gitver="unknown"
-macro=`echo "$prefix"_GIT_VERSION | tr '[:lower:]' '[:upper:]'`
+gitver=$(git rev-parse --verify HEAD 2>/dev/null) || gitver="unknown"
+macro=$(echo "$prefix"_GIT_VERSION | tr '[:lower:]' '[:upper:]')
cd "$workdir" || exit 2
-mkdir -p `dirname "$output"` || exit 2
+mkdir -p $(dirname "$output") || exit 2
printf "#define $macro\t\"$gitver\"\n" > "$output"
# all done