File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -553,20 +553,12 @@ function find_xml_files($path) // {{{
553
553
554
554
checking ("whether the language is supported " );
555
555
$ LANGDIR = "{$ ac ['rootdir ' ]}/ {$ ac ['LANG ' ]}" ;
556
- if (file_exists ("{$ LANGDIR }/trunk " )) {
557
- $ LANGDIR .= '/trunk ' ;
558
- }
559
556
if (!file_exists ($ LANGDIR ) || !is_readable ($ LANGDIR )) {
560
557
checkerror ("No language directory found. " );
561
558
}
562
559
563
560
$ 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 ' ;
570
562
checkvalue ("yes " );
571
563
572
564
checking ("for partial build " );
@@ -1120,11 +1112,7 @@ function phd_version()
1120
1112
$ globdir = dirname ($ ac ["GENERATE " ]) . "/{../../}versions.xml " ;
1121
1113
}
1122
1114
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 ' ;
1128
1116
$ globdir .= "/*/*/versions.xml " ;
1129
1117
}
1130
1118
echo ' transforming, ' ;
You can’t perform that action at this time.
0 commit comments