summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-05-01 21:44:10 +0200
committerGuillem Jover <guillem@debian.org>2014-05-07 05:20:59 +0200
commitacd884519b4c4aae38ef37e26fe14cbffe2b4f78 (patch)
tree1f0bd00e2b1f65164db30075b9b85e4c45094932 /doc
parentb75d9bce9d03acbfd80ffd3eefafabcfbc07c454 (diff)
downloaddpkg-acd884519b4c4aae38ef37e26fe14cbffe2b4f78.tar.gz
build: Do not use lcov-inject first argument as target directory
All arguments are files to modify.
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/lcov-inject2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lcov-inject b/doc/lcov-inject
index 0875bd29c..ecb614a19 100755
--- a/doc/lcov-inject
+++ b/doc/lcov-inject
@@ -24,7 +24,7 @@ use warnings;
use Cwd;
use Devel::Cover::DB;
-my $dir = $ARGV[0] // 'scripts';
+my $dir = 'scripts';
my $cwd = cwd();
chdir $dir or die "cannot switch to $dir\n";