Use $(...) notation instead of legacy backticked ...
This is based on a shellcheck recommendation. https://www.shellcheck.net/wiki/SC2006
This commit is contained in:
parent
1e16e19d11
commit
79357a527f
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
PKG_ARCH=`dpkg --print-architecture`
|
PKG_ARCH=$(dpkg --print-architecture)
|
||||||
PKG_DATE=`date -R`
|
PKG_DATE=$(date -R)
|
||||||
PKG_VERSION=`cd /src && git describe --tags --abbrev=0`
|
PKG_VERSION=$(cd /src && git describe --tags --abbrev=0)
|
||||||
|
|
||||||
echo "PKG_VERSION=$PKG_VERSION"
|
echo "PKG_VERSION=$PKG_VERSION"
|
||||||
echo "PKG_ARCH=$PKG_ARCH"
|
echo "PKG_ARCH=$PKG_ARCH"
|
||||||
|
|
Loading…
Reference in a new issue