Changeset 37736
- Timestamp:
- 2023-05-04T22:46:17+12:00 (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/util.pm
r37131 r37736 1734 1734 $path =~ s/^$re_path/$placeholder/; #case sensitive or not? 1735 1735 #$path =~ s/^[\\\/]//; # remove gs_path's trailing separator left behind at the start of the path 1736 # lowercase file extension, This is needed when shortfilenames are used, as case affects alphetical ordering, which affects diffcol 1737 $path =~ s/\.([A-Z]+)$/".".lc($1)/e; 1736 1737 if (($ENV{'GSDLOS'} =~ m/^windows$/i) && ($^O ne "cygwin")) { 1738 # lowercase file extension, This is needed when shortfilenames are used, as case affects alphetical ordering, which affects diffcol 1739 1740 # Note: the following used be done on all Operating Systems, even though the reason for it seems to be related to Windows 1741 # (which, when in its most basic form, is case-insenstive for its filesystem) 1742 # However, making the file-extension be lower-case cases incremental importing to break on Unix systems 1743 1744 $path =~ s/\.([A-Z]+)$/".".lc($1)/e; 1745 } 1746 1738 1747 last; # done 1739 1748 }
Note:
See TracChangeset
for help on using the changeset viewer.