From 6a1a25b33518a809e7c6eb146a7f52d94a12fbe6 Mon Sep 17 00:00:00 2001 From: Matthaus Owens Date: Mon, 26 Nov 2012 14:36:48 -0800 Subject: [PATCH] Add single quotes around x86_64 so it's valid for a mock config. --- templates/mock-config.erb | 2 +- templates/pe-mock-config.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/mock-config.erb b/templates/mock-config.erb index a6465ae..6da4cdb 100644 --- a/templates/mock-config.erb +++ b/templates/mock-config.erb @@ -19,7 +19,7 @@ config_opts['root'] = '<%=name%>' config_opts['target_arch'] = '<%=arch%>' -config_opts['legal_host_arches'] = (<%= if arch =~ /i\d86/ then "'i386', 'i586', 'i686', 'x86_64'" else "x86_64" end %>) +config_opts['legal_host_arches'] = (<%= if arch =~ /i\d86/ then "'i386', 'i586', 'i686', 'x86_64'" else "'x86_64'" end %>) config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' config_opts['dist'] = '<%=dist%>' # only useful for --resultdir variable subst config_opts['macros']['%_host_vendor'] = '<%=vendor%>' diff --git a/templates/pe-mock-config.erb b/templates/pe-mock-config.erb index 140fe4f..d08eb34 100644 --- a/templates/pe-mock-config.erb +++ b/templates/pe-mock-config.erb @@ -6,7 +6,7 @@ config_opts['root'] = '<%=name%>' config_opts['target_arch'] = '<%=arch%>' -config_opts['legal_host_arches'] = (<%= if arch =~ /i\d86/ then "'i386', 'i586', 'i686', 'x86_64'" else "x86_64" end %>) +config_opts['legal_host_arches'] = (<%= if arch =~ /i\d86/ then "'i386', 'i586', 'i686', 'x86_64'" else "'x86_64'" end %>) config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' config_opts['dist'] = '<%=dist%><%=release%>' # only useful for --resultdir variable subst config_opts['plugin_conf']['ccache_enable'] = False