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=c2ad8678a6d8299b2d51b8a56c6f2e441ee847d3

commit c2ad8678a6d8299b2d51b8a56c6f2e441ee847d3
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Tue Oct 9 23:50:24 2018 +0200

    build: Remove unused PERL_PROFILE variable from run-script
    
    This variable requires to be left unquoted, which makes it unsafe to
    use. But at the same time is unnecessary as we can just use PERL5OPT
    instead, so let's just remove it.
    
    Warned-by: shellcheck
---
 debian/changelog | 2 ++
 run-script       | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 88c30482b..5f842d5b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ dpkg (1.19.3) UNRELEASED; urgency=medium
   * Build system:
     - get-version: Use a format string with printf.
     - run-script: Use $() instead of deprecated ``.
+    - run-script: Remove unused PERL_PROFILE variable, PERL5OPT can be used
+      instead, and does not require leaving an unquoted variable around.
 
   [ Updated programs translations ]
   * German (Sven Joachim).
diff --git a/run-script b/run-script
index cc1cfca30..c62183295 100755
--- a/run-script
+++ b/run-script
@@ -16,4 +16,4 @@ export DPKG_DATADIR="$cwd/data"
 script="$1"
 shift 1
 
-exec $PERL $PERL_PROFILE "$cwd/$script" "$@"
+exec $PERL "$cwd/$script" "$@"

-- 
Dpkg.Org's dpkg

Reply via email to