Bump version to 2.4.2 for development of next release
[gnu-stow.git] / tools / get-version
bloba184ed799cbf7f71372a6a4bebbe139a49df3058
1 #!/usr/bin/perl
3 use strict;
4 use warnings;
6 open(CONF, "configure.ac") or die "Couldn't open configure.ac: $!\n";
8 while (<CONF>) {
9 if (/^AC_INIT\(\[stow\], \[(.+?)\]/) {
10 print "$1\n";
11 exit 0;
15 exit 1;