diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-05-24 12:11:32 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-05-24 12:11:32 +0000 |
commit | f46de161eeebf9d245c6bd0491ec74341e5796b1 (patch) | |
tree | e2f1fcf916b7179edb1df40e74e13c2706589903 /helpcontent2/helpers | |
parent | 7277778736b18d81734c76385ae0a0d3ff3852bf (diff) |
INTEGRATION: CWS vq32 (1.11.56); FILE MERGED
2006/05/22 04:03:45 vq 1.11.56.1: #i64848# Fix W32-4nt problem.
Diffstat (limited to 'helpcontent2/helpers')
-rw-r--r-- | helpcontent2/helpers/update_tree.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/helpcontent2/helpers/update_tree.pl b/helpcontent2/helpers/update_tree.pl index 964041bac3..5de8c111fa 100644 --- a/helpcontent2/helpers/update_tree.pl +++ b/helpcontent2/helpers/update_tree.pl @@ -7,9 +7,9 @@ eval 'exec perl -wS $0 ${1+"$@"}' # # $RCSfile: update_tree.pl,v $ # -# $Revision: 1.11 $ +# $Revision: 1.12 $ # -# last change: $Author: obo $ $Date: 2006-01-20 12:08:29 $ +# last change: $Author: vg $ $Date: 2006-05-24 13:11:32 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -59,6 +59,11 @@ if ( defined $ENV{COMMON_OUTDIR} && $ENV{COMMON_OUTDIR} ne "" ) { $destpath =~ s/$ENV{OUTPATH}/$ENV{COMMON_OUTDIR}/; } +# Always use / directory separators +$prj =~ s/\\/\//g if defined($prj); +$inpath =~ s/\\/\//g; +$destpath =~ s/\\/\//g; + if ( ! defined $prj ) { # do someting that works for manual call ($scriptname = `pwd`) =~ s/\n/\/$0/; |