[devscripts] 01/02: grep-excuses: Remove useless call to “hostname --fqdn”

James McCoy jamessan at debian.org
Fri Sep 12 01:42:36 UTC 2014


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

jamessan pushed a commit to branch master
in repository devscripts.

commit 86e9853ec55a3f9098ae722a7320668616c17f1b
Author: James McCoy <jamessan at debian.org>
Date:   Sat Sep 6 14:05:19 2014 -0400

    grep-excuses: Remove useless call to “hostname --fqdn”
    
    Closes: #758668
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog        | 1 +
 scripts/grep-excuses.pl | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4f32164..b34fc87 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ devscripts (2.14.7) UNRELEASED; urgency=low
     command line.  (Closes: #757614)
   * dcmd: Add --debtar option and restrict --tar/--orig to orig.tar.*.  Thanks
     to Osamu Aoki for the patch.  (Closes: #622561)
+  * grep-excuses: Remove useless call to “hostname --fqdn”.  (Closes: #758668)
 
   [ Benjamin Drung ]
   * Remove unused build-dependencies libjson-perl and libterm-size-perl
diff --git a/scripts/grep-excuses.pl b/scripts/grep-excuses.pl
index 3ddcdec..dc37c45 100755
--- a/scripts/grep-excuses.pl
+++ b/scripts/grep-excuses.pl
@@ -172,9 +172,6 @@ if (@ARGV) {
     die "$progname: too many arguments!  Try $progname --help for help.\n";
 }
 
-my $hostname = `hostname --fqdn`;
-chomp $hostname;
-
 if (system("command -v wget >/dev/null 2>&1") != 0) {
     die "$progname: this program requires the wget package to be installed\n";
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list