From 7a2ef05e0bb05830c70f193bb34ece790b1219fd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 22 Feb 2006 19:25:45 +0000 Subject: make generating the previous HW config file somewhat more readable --- tools/draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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) -- cgit v1.2.1