git://git.jankratochvil.net
/
lufs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa72338
)
Fixed if 'macros' could got checked out empty by our '-r captive' tag.
author
short
<>
Wed, 20 Aug 2003 18:30:40 +0000
(18:30 +0000)
committer
short
<>
Wed, 20 Aug 2003 18:30:40 +0000
(18:30 +0000)
autogen.pl
patch
|
blob
|
history
diff --git
a/autogen.pl
b/autogen.pl
index
b00dbec
..
88c71d8
100755
(executable)
--- a/
autogen.pl
+++ b/
autogen.pl
@@
-24,6
+24,12
@@
$VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
use strict;
use warnings;
+BEGIN {
+ # 'macros' could got checked out empty by our '-r captive' tag.
+ if (!-f "./macros/AutoGen.pm") {
+ do { system $_ and die "$_: $!"; } for ("cvs co -A macros");
+ }
+ }
use lib "./macros/";
use AutoGen;