summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-12-03 12:07:46 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-12-03 12:07:46 +0000
commit86fab6d87ab71745fb879828db94aad36ccb4e0c (patch)
treebbbf42f3f4b5912cd14bb950a219b23685a5e420 /Build/source/utils/xindy-new/xindy/make-rules/alphabets/make-rules.pl
parente3c587eb81f9a6d1c68694ae040791c2bd69cd3e (diff)
xindy-2.4-pre2 update
git-svn-id: svn://tug.org/texlive/trunk@16278 c570f23f-e606-0410-a88d-b1316a301751
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;