diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-11-12 11:05:32 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-11-12 11:05:32 +0000 |
commit | 59e507cf003c25e8f793154bb9ffff5c3942c420 (patch) | |
tree | 7cce8886b7e1dad0c8cedaa8671373683e0337d1 | |
parent | f9c6f4f9c697fe1f12b851a9886b928df947b328 (diff) | |
download | draklive-59e507cf003c25e8f793154bb9ffff5c3942c420.tar draklive-59e507cf003c25e8f793154bb9ffff5c3942c420.tar.gz draklive-59e507cf003c25e8f793154bb9ffff5c3942c420.tar.bz2 draklive-59e507cf003c25e8f793154bb9ffff5c3942c420.tar.xz draklive-59e507cf003c25e8f793154bb9ffff5c3942c420.zip |
chomp arch returned by rpm to fix directory names when arch is not in settings.cfg (#35105)
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |