diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-01-26 13:41:53 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-01-26 13:41:53 +0000 |
commit | f98da119d445930654a50f4ab5bbe86e7210f215 (patch) | |
tree | be9819999e8eb779c26e82683d1516bd2741b0fd /perl-install/standalone | |
parent | 596b88c3e0ceef8472fd221fd20390638407a465 (diff) | |
download | drakx-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/standalone')
-rwxr-xr-x | perl-install/standalone/drakdvb | 2 |
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($?); |