aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:/