diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2013-03-29 11:07:09 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2013-03-29 11:07:09 +0400 |
commit | ea33e78c3ced7148612cf5c2885badd4dcf187c1 (patch) | |
tree | 3685f5f77cb2397c76d3e42b8e30d09d45440e73 /scripts/debmaker.pl | |
parent | 67c48c3513ad6f3fba24fc08b7d8f087b3932bf4 (diff) | |
download | cibs-ea33e78c3ced7148612cf5c2885badd4dcf187c1.tar.gz |
Make COMPONENT_VERSION optional
Diffstat (limited to 'scripts/debmaker.pl')
-rwxr-xr-x | scripts/debmaker.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/debmaker.pl b/scripts/debmaker.pl index b2e9d72..f312938 100755 --- a/scripts/debmaker.pl +++ b/scripts/debmaker.pl @@ -825,7 +825,7 @@ foreach my $manifest_file (@ARGV) { $control .= "Origin: $$manifest_data{'info.upstream_url'}\n" if exists $$manifest_data{'info.upstream_url'}; $control .= "X-FMRI: $$manifest_data{'pkg.fmri'}\n"; - $control .= "X-Upstream-Version: $DEFINES{'COMPONENT_VERSION'}\n"; + $control .= "X-Upstream-Version: $DEFINES{'COMPONENT_VERSION'}\n" if exists $DEFINES{'COMPONENT_VERSION'}; if (exists $$manifest_data{'info.source_url'} && $$manifest_data{'info.source_url'} !~ /^file:/ |