update
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#Stupid ProjectBuild wouldn't allow perl
|
|
||||||
|
|
||||||
perl -w -e '
|
perl -w -e '
|
||||||
open F, "<version.tst"||die;
|
open F, "<version.tst"||die;
|
||||||
$ver = <F>;
|
$ver = <F>;
|
||||||
@@ -14,6 +12,8 @@ close F;
|
|||||||
$date = `date`;
|
$date = `date`;
|
||||||
chomp $date;
|
chomp $date;
|
||||||
open F, ">ver.cpp"||die;
|
open F, ">ver.cpp"||die;
|
||||||
print F "unsigned long version_num = $ver;\n";print F "const char *version_time = \"$date\";\n";close F;
|
print F "unsigned long version_num = $ver;\n";
|
||||||
|
print F "const char *version_time = \"$date\";\n";
|
||||||
|
close F;
|
||||||
'
|
'
|
||||||
touch ver.cpp
|
touch ver.cpp
|
||||||
Reference in New Issue
Block a user