Skip to content

Commit c2fd6c0

Browse files
committed
Unsupport trunk/
1 parent 7f43001 commit c2fd6c0

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

configure.php

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -553,20 +553,12 @@ function find_xml_files($path) // {{{
553553

554554
checking("whether the language is supported");
555555
$LANGDIR = "{$ac['rootdir']}/{$ac['LANG']}";
556-
if (file_exists("{$LANGDIR}/trunk")) {
557-
$LANGDIR .= '/trunk';
558-
}
559556
if (!file_exists($LANGDIR) || !is_readable($LANGDIR)) {
560557
checkerror("No language directory found.");
561558
}
562559

563560
$ac['LANGDIR'] = basename($LANGDIR);
564-
if ($ac['LANGDIR'] == 'trunk') {
565-
$ac['LANGDIR'] = '../' . basename(dirname($LANGDIR)) . '/trunk';
566-
$ac['EN_DIR'] = '../en/trunk';
567-
} else {
568-
$ac['EN_DIR'] = 'en';
569-
}
561+
$ac['EN_DIR'] = 'en';
570562
checkvalue("yes");
571563

572564
checking("for partial build");
@@ -1120,11 +1112,7 @@ function phd_version()
11201112
$globdir = dirname($ac["GENERATE"]) . "/{../../}versions.xml";
11211113
}
11221114
else {
1123-
if (file_exists($ac['rootdir'] . '/en/trunk')) {
1124-
$globdir = $ac['rootdir'] . '/en/trunk';
1125-
} else {
1126-
$globdir = $ac['rootdir'] . '/en';
1127-
}
1115+
$globdir = $ac['rootdir'] . '/en';
11281116
$globdir .= "/*/*/versions.xml";
11291117
}
11301118
echo ' transforming,';

0 commit comments

Comments
 (0)