]> git.donarmstrong.com Git - wannabuild.git/commitdiff
wanna-build: fix syntax nitpick for version on verbose
authorPhilipp Kern <pkern@debian.org>
Mon, 20 Jun 2011 21:45:22 +0000 (21:45 +0000)
committerPhilipp Kern <pkern@debian.org>
Mon, 20 Jun 2011 21:45:22 +0000 (21:45 +0000)
bin/wanna-build

index bc092cf4d0638ccb5412521cfb245c5aac054f94..b7c2215fc068470f59017b4e26f8e0866e986e81 100755 (executable)
@@ -274,7 +274,7 @@ if (!isin ( $op_mode, qw(list) ) && ( ($distribution//"") =~ /[ ,]/)) {
 
 if ($verbose) {
        my $version = '$Id$';
-       $version =~ s/^.* ([a-f0-9]+) .*$/\1/g;
+       $version =~ s/^.* ([a-f0-9]+) .*$/$1/g;
        print "wanna-build $version for ".($distribution//"sid")." on $arch\n";
 }