This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=13fd759cdc781218a61655446ca592603b3dbb27

commit 13fd759cdc781218a61655446ca592603b3dbb27
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Tue Oct 9 23:59:41 2018 +0200

    build: Use $() instead of deprecated `` in run-script
    
    Warned-by: shellcheck
---
 debian/changelog | 1 +
 run-script       | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index daea4196f..88c30482b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ dpkg (1.19.3) UNRELEASED; urgency=medium
       backslash.
   * Build system:
     - get-version: Use a format string with printf.
+    - run-script: Use $() instead of deprecated ``.
 
   [ Updated programs translations ]
   * German (Sven Joachim).
diff --git a/run-script b/run-script
index dbc5dcc06..cc1cfca30 100755
--- a/run-script
+++ b/run-script
@@ -1,11 +1,11 @@
 #!/bin/sh
 
-top_srcdir="`dirname "$0"`"
+top_srcdir="$(dirname "$0")"
 
 # To avoid using «readlink -f» or «realpath» we just change into the
 # desired directory and work from there.
 cd "$top_srcdir"
-cwd="`pwd`"
+cwd="$(pwd)"
 cd "$OLDPWD"
 
 # Set up the environment, to use local perl modules and data files.

-- 
Dpkg.Org's dpkg

Reply via email to