summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 962a10e..0f62464 100755
--- a/draklive
+++ b/draklive
@@ -1505,7 +1505,7 @@ sub complete_config {
$live->{settings}{builddir} ||= '/var/lib/draklive/build';
$live->{settings}{chroot} ||= '/var/lib/draklive/chroot';
- $live->{settings}{arch} ||= `rpm --eval '%{_target_cpu}'`;
+ $live->{settings}{arch} ||= chomp_(`rpm --eval '%{_target_cpu}'`);
$live->{media}{title} ||= "live";
mkdir_p(get_builddir($live));