From 79357a527f63ebcd481c820f43c24b201822a882 Mon Sep 17 00:00:00 2001 From: George Angelopoulos Date: Thu, 3 Nov 2022 17:25:55 +0200 Subject: [PATCH] Use $(...) notation instead of legacy backticked `...` This is based on a shellcheck recommendation. https://www.shellcheck.net/wiki/SC2006 --- packaging/debian/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/debian/build.sh b/packaging/debian/build.sh index 2867d469..0f66c672 100755 --- a/packaging/debian/build.sh +++ b/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"