Skip to content

Commit 2bde130

Browse files
committed
Don't hardcode Perl path; Release 1.3.7
1 parent 68da082 commit 2bde130

File tree

41 files changed

+42
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+42
-42
lines changed

scripts/update-revision.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44

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

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

1313
print "Set revision to $revision.\n";

src/version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ constexpr auto CG3_COPYRIGHT_STRING = "Copyright (C) 2007-2021 GrammarSoft ApS.
2929

3030
constexpr uint32_t CG3_VERSION_MAJOR = 1;
3131
constexpr uint32_t CG3_VERSION_MINOR = 3;
32-
constexpr uint32_t CG3_VERSION_PATCH = 6;
32+
constexpr uint32_t CG3_VERSION_PATCH = 7;
3333
constexpr uint32_t CG3_REVISION = 13892;
3434
constexpr uint32_t CG3_FEATURE_REV = 13892;
3535
constexpr uint32_t CG3_TOO_OLD = 10373;

test/Apertium/T_AnyMinusSome/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

test/Apertium/T_Append/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

test/Apertium/T_Barrier/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

test/Apertium/T_CarefulBarrier/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

test/Apertium/T_CharsInWhiteSpace/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

test/Apertium/T_CompositeSelect/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

test/Apertium/T_ContextTest/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

test/Apertium/T_Delimit/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use Cwd qw(realpath);

0 commit comments

Comments
 (0)