Browse Source

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

This is based on a shellcheck recommendation.
https://www.shellcheck.net/wiki/SC2006
George Angelopoulos 3 years ago
parent
commit
79357a527f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packaging/debian/build.sh

+ 3 - 3
packaging/debian/build.sh

@@ -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"