diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-04-19 19:42:58 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-04-19 19:42:58 +0000 |
commit | 8c9046c01e331144ad13ab14ba820c93d34ba01d (patch) | |
tree | 8fbf06725a507a4a5d99ac68af9dcfa13c74de14 /config_office | |
parent | 1223008c5e026ad830863ff9dfd1b1c2b8c519c2 (diff) |
#i10000# #i76511# sn.exe
Diffstat (limited to 'config_office')
-rw-r--r-- | config_office/set_soenv.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/config_office/set_soenv.in b/config_office/set_soenv.in index f1bee67e7980..f4283560e7d3 100644 --- a/config_office/set_soenv.in +++ b/config_office/set_soenv.in @@ -1,8 +1,8 @@ #!@PERL@ -w # # Program: set_soenv.in -# Version: $Revision: 1.139 $ -# Date: $Date: 2007-04-16 14:18:59 $ +# Version: $Revision: 1.140 $ +# Date: $Date: 2007-04-19 20:42:58 $ # Author: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems, Ireland. # #--------------------------------------------------------------------------- @@ -1181,11 +1181,16 @@ elsif ($platform =~ m/cygwin/) $PATH .= $ps.$CYGWIN_PATH; } $PATH .= $ps_STLPORT_LIB; - # zip.exe / unzip.exe path for Windows users. + # nsis path for Windows users. my $nsis_path = PosixFormat('@NSIS_PATH@'); - if ( ! $PATH =~ /(?:[:]|\A)(?:$nsis_path)(?:[:]|\Z)/ ) { + if ( $PATH !~ /(?:[:]|\A)(?:$nsis_path)(?:[:]|\Z)/ ) { $PATH .= $ps.$nsis_path; } + # path to sn.exe (signing) for Windows users. + my $sn_path = PosixFormat('@FRAME_HOME@/bin'); + if ( $PATH !~ /(?:[:]|\A)(?:$sn_path)(?:[:]|\Z)/ ) { + $PATH .= $ps.$sn_path; + } # Add the rest of the original path if it is still missing. |