diff options
author | Daouda Lo <daouda@mandriva.com> | 2002-09-16 09:42:09 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2002-09-16 09:42:09 +0000 |
commit | 47e03ee5f6e82b28cba49e3deefe98851767ed50 (patch) | |
tree | 78fa37d38e6181099921a70484ee97436bbd149f /perl-install/standalone.pm | |
parent | af2245eab3095f4db9fa92d97fbd37e1495b7d99 (diff) | |
download | drakx-backup-do-not-use-47e03ee5f6e82b28cba49e3deefe98851767ed50.tar drakx-backup-do-not-use-47e03ee5f6e82b28cba49e3deefe98851767ed50.tar.gz drakx-backup-do-not-use-47e03ee5f6e82b28cba49e3deefe98851767ed50.tar.bz2 drakx-backup-do-not-use-47e03ee5f6e82b28cba49e3deefe98851767ed50.tar.xz drakx-backup-do-not-use-47e03ee5f6e82b28cba49e3deefe98851767ed50.zip |
- use basename with drakbug for standalone tools
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r-- | perl-install/standalone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 7ab29d14b..287c65417 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -115,7 +115,7 @@ sub explanations { c::syslog(c::LOG_INFO()|c::LOG_LOCAL1(), "@_") } @builtin_functs = qw(chmod chown unlink link symlink rename system); @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::monitor Xconfig::parse Xconfig::proprietary Xconfig::resolution_and_depth Xconfig::screen Xconfig::test Xconfig::various Xconfig::xfree Xconfig::xfree3 Xconfig::xfree4 Xconfig::xfreeX any bootloader bootlook c class_discard commands crypto detect_devices devices diskdrake diskdrake::hd_gtk diskdrake::interactive diskdrake::removable diskdrake::removable_gtk diskdrake::smbnfs_gtk fs fsedit http keyboard lang log loopback lvm modparm modules mouse my_gtk network network::adsl network::ethernet network::isdn_consts network::isdn network::modem network::netconnect network::network network::nfs network::smb network::tools partition_table partition_table_bsd partition_table::dos partition_table::empty partition_table::gpt partition_table::mac partition_table::raw partition_table::sun printer printerdrake proxy raid run_program scanner services steps swap timezone network::drakfirewall network::shorewall); -$SIG{SEGV} = sub { exec("drakbug --incident $0")}; +$SIG{SEGV} = sub { ($progname = $0) =~ s|.*/||; exec("drakbug --incident $progname")}; sub import { ($standalone_name = $0) =~ s|.*/||; |