[SCM] Debian package checker branch, infra-513663, updated. 2.4.3-137-g510aa4f
The following commit has been merged in the infra-513663 branch:
commit e68116a91d88ab6183a551dcc080d5479d23d41b
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jan 8 10:12:38 2011 +0100
Use Cwd::getcwd instead `pwd` to determine current directory.
diff --git a/frontend/lintian b/frontend/lintian
index 6005e09..06c0a27 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -25,6 +25,7 @@
use strict;
use Getopt::Long;
+use Cwd;
# }}}
# {{{ Global Variables
@@ -428,7 +429,7 @@ GetOptions(%opthash)
or die("error parsing options\n");
# determine current working directory--we'll need this later
-chop($cwd = `pwd`);
+$cwd = Cwd::getcwd();
# determine LINTIAN_ROOT if it was not set with --root.
$LINTIAN_ROOT = $LINTIAN_ROOT || $ENV{'LINTIAN_ROOT'};
--
Debian package checker
Reply to: