summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl')
-rwxr-xr-xBuild/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl b/Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl
index 0855e9af999..c0f2f9c5ed2 100755
--- a/Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl
+++ b/Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl
@@ -23,7 +23,10 @@ print TESTXDY " :rule-set (\"".$prefix."resolve-case\" \"".$prefix."ignore
print TESTXDY "(use-rule-set :run 3\n";
print TESTXDY " :rule-set (\"".$prefix."resolve-special\"))\n";
close TESTXDY;
-$fn = "test.xdy"; $fn = "$INC[0]/$fn" if ! -f $fn && -f "$INC[0]/$fn"; die "$fn: $!" if ! -f $fn;
+
+$fn = "test.xdy";
+! -f $fn && -f "$INC[0]/$fn" and $fn = "$INC[0]/$fn";
+-f $fn or die "$fn: $!";
system("cat $fn >> $ARGV[0]-test.xdy");
$begin = 128;