Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Add single quotes around x86_64 so it's valid for a mock config. #16

Merged
merged 1 commit into from Nov 26, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/mock-config.erb
Expand Up @@ -19,7 +19,7 @@


config_opts['root'] = '<%=name%>' config_opts['root'] = '<%=name%>'
config_opts['target_arch'] = '<%=arch%>' 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['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = '<%=dist%>' # only useful for --resultdir variable subst config_opts['dist'] = '<%=dist%>' # only useful for --resultdir variable subst
config_opts['macros']['%_host_vendor'] = '<%=vendor%>' config_opts['macros']['%_host_vendor'] = '<%=vendor%>'
Expand Down
2 changes: 1 addition & 1 deletion templates/pe-mock-config.erb
Expand Up @@ -6,7 +6,7 @@


config_opts['root'] = '<%=name%>' config_opts['root'] = '<%=name%>'
config_opts['target_arch'] = '<%=arch%>' 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['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = '<%=dist%><%=release%>' # only useful for --resultdir variable subst config_opts['dist'] = '<%=dist%><%=release%>' # only useful for --resultdir variable subst
config_opts['plugin_conf']['ccache_enable'] = False config_opts['plugin_conf']['ccache_enable'] = False
Expand Down