mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 15:02:31 +00:00
10 lines
257 B
Perl
10 lines
257 B
Perl
|
#!/usr/bin/env perl
|
||
|
# extracting version string from game/q_shared.h
|
||
|
# hacked from Wolf build process
|
||
|
|
||
|
# extract the wolf version from q_shared.h
|
||
|
$line = `cat ../game/q_shared.h | grep Q3_VERSION`;
|
||
|
chomp $line;
|
||
|
$line =~ s/.*Q3\ (.*)\"/$1/;
|
||
|
print "$line\n";
|