aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-03-29 11:07:09 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-03-29 11:07:09 +0400
commitea33e78c3ced7148612cf5c2885badd4dcf187c1 (patch)
tree3685f5f77cb2397c76d3e42b8e30d09d45440e73
parent67c48c3513ad6f3fba24fc08b7d8f087b3932bf4 (diff)
downloadcibs-ea33e78c3ced7148612cf5c2885badd4dcf187c1.tar.gz
Make COMPONENT_VERSION optional
-rwxr-xr-xscripts/debmaker.pl2
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:/