diff options
author | Michael Schroeder <mls@suse.de> | 2010-04-29 12:27:10 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2010-04-29 12:27:10 +0200 |
commit | d7e88d1e4376538587bccf8bd3968fa1045a6e60 (patch) | |
tree | 8906168938476db088a1c51b33b8fb17ee346d4c /Build.pm | |
parent | 545a3158d0a41df5f168c04ac54138116c614a30 (diff) |
- rename 'changetarget' to 'target' in config ('changetarget' still works)
- rename ABUILD_TARGET_ARCH to ABUILD_TARGET, as the rpm option is just --target
- cleanup changetarget script a bit
Diffstat (limited to 'Build.pm')
-rw-r--r-- | Build.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -216,8 +216,8 @@ sub read_config { $config->{'release'} = $l[0]; } elsif ($l0 eq 'releaseprg:') { $config->{'releaseprg'} = $l[0]; - } elsif ($l0 eq 'changetarget:') { - $config->{'changetarget'} = join(' ', @l); + } elsif ($l0 eq 'changetarget:' || $l0 eq 'target:') { + $config->{'target'} = join(' ', @l); } elsif ($l0 !~ /^[#%]/) { warn("unknown keyword in config: $l0\n"); } |