repo.or.cz
/
gnu-stow.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 2.4.2 for development of next release
[gnu-stow.git]
/
tools
/
get-version
blob
a184ed799cbf7f71372a6a4bebbe139a49df3058
1
#!/usr/bin/perl
2
3
use
strict
;
4
use
warnings
;
5
6
open
(
CONF
,
"configure.ac"
)
or die
"Couldn't open configure.ac: $!
\n
"
;
7
8
while
(<
CONF
>) {
9
if
(
/^AC_INIT\(\[stow\], \[(.+?)\]/
) {
10
print
"
$1
\n
"
;
11
exit
0
;
12
}
13
}
14
15
exit
1
;