diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-30 18:46:49 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-30 18:46:49 +0000 |
commit | 0c24b0996b7f486bea003422257dc9b4f7e3569d (patch) | |
tree | 978366b59f57179fd3cf33970492d9c5b4a479d3 | |
parent | 5fe510a12e805ab1f850a9c105c983590d6ffa3c (diff) | |
download | drakx-backup-do-not-use-0c24b0996b7f486bea003422257dc9b4f7e3569d.tar drakx-backup-do-not-use-0c24b0996b7f486bea003422257dc9b4f7e3569d.tar.gz drakx-backup-do-not-use-0c24b0996b7f486bea003422257dc9b4f7e3569d.tar.bz2 drakx-backup-do-not-use-0c24b0996b7f486bea003422257dc9b4f7e3569d.tar.xz drakx-backup-do-not-use-0c24b0996b7f486bea003422257dc9b4f7e3569d.zip |
check_prog won't work if arguments are not properly splitted when passed to run_program
-rw-r--r-- | perl-install/keyboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index efa20dc01..5561e8da0 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -507,7 +507,7 @@ sub write { $keyboard->{KEYTABLE} = keyboard2kmap($keyboard); setVarsInSh("$::prefix/etc/sysconfig/keyboard", $keyboard); - run_program::rooted($::prefix, "dumpkeys > /etc/sysconfig/console/default.kmap") or log::l("dumpkeys failed"); + run_program::rooted($::prefix, 'dumpkeys', '>', '/etc/sysconfig/console/default.kmap') or log::l("dumpkeys failed"); if (arch() =~ /ppc/) { my $s = "dev.mac_hid.keyboard_sends_linux_keycodes = 1\n"; substInFile { |