Use $(...) notation instead of legacy backticked `...`

This is based on a shellcheck recommendation.
https://www.shellcheck.net/wiki/SC2006
This commit is contained in:
George Angelopoulos 2022-11-03 17:25:55 +02:00 committed by Frédéric Guillot
parent 1e16e19d11
commit 79357a527f
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
PKG_ARCH=`dpkg --print-architecture`
PKG_DATE=`date -R`
PKG_VERSION=`cd /src && git describe --tags --abbrev=0`
PKG_ARCH=$(dpkg --print-architecture)
PKG_DATE=$(date -R)
PKG_VERSION=$(cd /src && git describe --tags --abbrev=0)
echo "PKG_VERSION=$PKG_VERSION"
echo "PKG_ARCH=$PKG_ARCH"