Permalink
Browse files

Change quoting to capture the version correctly under Windows.

Windows Command.exe does not understand single quoted parameters so perl6 -v returned no version number.
  • Loading branch information...
thundergnat committed Jun 9, 2013
1 parent b2e8375 commit 5075c3b5aa9531a939ec92730186aef87406440c
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/build/gen-version.pl
@@ -14,7 +14,7 @@ =head1 TITLE
chomp $VERSION;
my ($version, $release, $codename) = split(' ', $VERSION, 3);
-if (-d '.git' && open(my $GIT, '-|', "git describe --match '2*'")) {
+if (-d '.git' && open(my $GIT, '-|', q|git describe --match "2*"|)) {
$version = <$GIT>;
close($GIT);
}

0 comments on commit 5075c3b

Please sign in to comment.