summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-02-22 19:25:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-02-22 19:25:45 +0000
commit7a2ef05e0bb05830c70f193bb34ece790b1219fd (patch)
treefaac6e78f327aaed565170e4cc666edb143cc509 /tools/draklive
parent2c236b139aae989f01b542c18ca575cb079a8cee (diff)
downloaddrakx-backup-do-not-use-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar
drakx-backup-do-not-use-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar.gz
drakx-backup-do-not-use-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar.bz2
drakx-backup-do-not-use-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar.xz
drakx-backup-do-not-use-7a2ef05e0bb05830c70f193bb34ece790b1219fd.zip
make generating the previous HW config file somewhat more readable
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index 248e0aeaf..35e25e6eb 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -471,7 +471,7 @@ sub post_install_system {
#- if previous HW config file is empty, we assumes DrakX has just completed the installation
#- (do it in chroot, or else Storable from the build box may write an incompatible config file)
run_({ root => get_system_root($live) },
- "perl -MStorable -e \"Storable::store({ UNKNOWN => {} }, '/etc/sysconfig/harddrake2/previous_hw')\"");
+ 'perl', '-MStorable', '-e', qq(Storable::store({ UNKNOWN => {} }, '/etc/sysconfig/harddrake2/previous_hw')));
#- interactive mode can lead to race in initscripts
#- (don't use addVarsInSh from MDK::Common, it breaks shell escapes)