summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-01-26 13:41:53 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-01-26 13:41:53 +0000
commitf98da119d445930654a50f4ab5bbe86e7210f215 (patch)
treebe9819999e8eb779c26e82683d1516bd2741b0fd /perl-install
parent596b88c3e0ceef8472fd221fd20390638407a465 (diff)
downloaddrakx-f98da119d445930654a50f4ab5bbe86e7210f215.tar
drakx-f98da119d445930654a50f4ab5bbe86e7210f215.tar.gz
drakx-f98da119d445930654a50f4ab5bbe86e7210f215.tar.bz2
drakx-f98da119d445930654a50f4ab5bbe86e7210f215.tar.xz
drakx-f98da119d445930654a50f4ab5bbe86e7210f215.zip
Only call dirname once, spotted by blino
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakdvb2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakdvb b/perl-install/standalone/drakdvb
index 222d6ba13..033df401f 100755
--- a/perl-install/standalone/drakdvb
+++ b/perl-install/standalone/drakdvb
@@ -83,7 +83,7 @@ sub detect_channels {
$_w->main;
} else {
$SIG{CHLD} = 'DEFAULT';
- mkdir_p(dirname(dirname($config_file)));
+ mkdir_p(dirname($config_file));
system("w_scan -X > $config_file");
sleep(1);
POSIX::_exit($?);