summaryrefslogtreecommitdiff
path: root/dh_illumos_gate
diff options
context:
space:
mode:
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-xdh_illumos_gate4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index 12d15e2..76ee1b1 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -118,11 +118,11 @@ my $changelog = changelog_parse(%options);
my $version = $changelog->{'Version'};
my $VER;
-if ($version =~ /^(\d+\.\d+).*$/) {
+if ($version =~ /^(\d+(\.\d+)+(\.git\w+)?).*$/) {
$VER = $1;
} else {
error("Could not determine illumos source version from changelog. "
- ."It should be like 2.10+1, but it is '$version'");
+ ."It should be like 5.10.6.gitXYZ+1, but it is '$version'");
}
my $tarball = "/usr/src/illumos-gate/illumos-gate-$VER.tar.xz";