git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3543 remove debugging output
[jalview.git]
/
utils
/
install4j
/
auto_file_associations-i4j8.pl
diff --git
a/utils/install4j/auto_file_associations-i4j8.pl
b/utils/install4j/auto_file_associations-i4j8.pl
index
9b26f22
..
f281469
100755
(executable)
--- a/
utils/install4j/auto_file_associations-i4j8.pl
+++ b/
utils/install4j/auto_file_associations-i4j8.pl
@@
-154,6
+154,7
@@
for my $shortname (@ordered) {
my $xshortname = xml_escape($shortname);
my $xiconfile = xml_escape($iconfile);
my $xrole = xml_escape($role);
my $xshortname = xml_escape($shortname);
my $xiconfile = xml_escape($iconfile);
my $xrole = xml_escape($role);
+ my $xROLE = xml_escape(uc($role));
my $xprimarystring = xml_escape($primarystring);
my $macentry = $mactemplate;
my $xprimarystring = xml_escape($primarystring);
my $macentry = $mactemplate;
@@
-181,6
+182,7
@@
for my $shortname (@ordered) {
$i4jentry =~ s/\$\$MIMETYPE\$\$/$xmimetype/g;
$i4jentry =~ s/\$\$ICONFILE\$\$/$xiconfile/g;
$i4jentry =~ s/\$\$PRIMARY\$\$/$xprimarystring/g;
$i4jentry =~ s/\$\$MIMETYPE\$\$/$xmimetype/g;
$i4jentry =~ s/\$\$ICONFILE\$\$/$xiconfile/g;
$i4jentry =~ s/\$\$PRIMARY\$\$/$xprimarystring/g;
+ $i4jentry =~ s/\$\$MACASSOCIATIONROLE\$\$/$xROLE/g;
my $ext = join(",",sort(@extensions));
my $xdisplayext = xml_escape(join(", ", map(".$_",sort(@extensions))));
my $ext = join(",",sort(@extensions));
my $xdisplayext = xml_escape(join(", ", map(".$_",sort(@extensions))));