diff options
-rwxr-xr-x | sbolint | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1222,7 +1222,7 @@ sub check_script { } $makepkg = $lineno; } elsif(/^\s*?CWD=/) { - log_error("$file:$lineno: lone CWD= assignment not valid in 15.0 template"); + log_warning("$file:$lineno: lone CWD= assignment is redundant in 15.0 template"); } if(/^[^#]*<documentation>/) { @@ -1254,7 +1254,7 @@ sub check_script { } } - if((not defined $arch_lineno) && (/\bARCH=/)) { + if((not defined $arch_lineno) && (/\bARCH:?=/)) { $arch_lineno = $lineno; } } |