Skip to content

Commit

Permalink
Don't hardcode Perl path; Release 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
TinoDidriksen committed Jul 20, 2022
1 parent c44b4e9 commit 2b93090
Show file tree
Hide file tree
Showing 41 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions scripts/update-revision.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;

Expand All @@ -7,7 +7,7 @@
$revision =~ s/^([0-9]+).*/$1/g;
$revision += 1;

`/usr/bin/perl -e 's/CG3_REVISION = [0-9]+;\$/CG3_REVISION = $revision;/;' -pi src/version.hpp`;
`perl -e 's/CG3_REVISION = [0-9]+;\$/CG3_REVISION = $revision;/;' -pi src/version.hpp`;
`svn2cl --group-by-day -i --reparagraph --limit 350`;

print "Set revision to $revision.\n";
2 changes: 1 addition & 1 deletion src/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ constexpr auto CG3_COPYRIGHT_STRING = "Copyright (C) 2007-2021 GrammarSoft ApS.

constexpr uint32_t CG3_VERSION_MAJOR = 1;
constexpr uint32_t CG3_VERSION_MINOR = 3;
constexpr uint32_t CG3_VERSION_PATCH = 6;
constexpr uint32_t CG3_VERSION_PATCH = 7;
constexpr uint32_t CG3_REVISION = 13892;
constexpr uint32_t CG3_FEATURE_REV = 13892;
constexpr uint32_t CG3_TOO_OLD = 10373;
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_AnyMinusSome/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Append/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Barrier/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_CarefulBarrier/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_CharsInWhiteSpace/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_CompositeSelect/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_ContextTest/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Delimit/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_DontMatchEmptySet/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_EndlessSelect/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Flush/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Generate/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Iff/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Joiner/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_MapAdd_Different/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_MatchBaseform/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_MatchWordform/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_MultiWords/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_MultipleSections/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_MultiwordTagStaying/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_NegatedContextTest/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_RegExp_Map/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_RegExp_Select/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_RegExp_Substitute/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Remove/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_RemoveSingleTag/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_ScanningTests/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Sections/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Select/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_SetOp_FailFast/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_SetOp_OR/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_SpaceInWord/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Substitute/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_SuperBlanks/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_SuperBlanksNewline/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_SuperBlanksWithEscape/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_Unification/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/T_UnknownWord/run.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down
2 changes: 1 addition & 1 deletion test/Apertium/runall.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use Cwd qw(realpath);
Expand Down

0 comments on commit 2b93090

Please sign in to comment.