From a487dcd7768374d07c2295674d5204a3af19d8f6 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Thu, 23 Apr 2009 15:52:08 +0000 Subject: CWS-TOOLING: integrate CWS ause100 2009-04-07 18:39:24 +0200 hjs r270608 : #i100932# add chmod to ease later removal 2009-04-03 19:18:44 +0200 hjs r270516 : #i100675# convert for now... 2009-04-03 17:40:55 +0200 hjs r270510 : #i100837# force use of GNU tar 2009-04-03 17:32:11 +0200 hjs r270508 : #i100837# clean tarballs and a readme 2009-04-03 17:29:35 +0200 hjs r270507 : #i100837# introduce $(TAR) and $(GNUTAR) 2009-04-03 12:22:47 +0200 hjs r270469 : #i100793# check for GNU tar 2009-03-30 17:30:20 +0200 hjs r270247 : #i100675# common comp_ver.mk for both windows shells 2009-03-30 13:49:55 +0200 hjs r270226 : #i100675# common comp_ver.mk for both windows shells 2009-03-30 13:36:00 +0200 hjs r270223 : #i100675# no backslash in dependencies 2009-03-30 13:34:14 +0200 hjs r270222 : #i100675# fix testhxx for cygwin 2009-03-27 16:34:33 +0100 hjs r270162 : #i98068# move that block where it makes sense 2009-03-27 16:16:41 +0100 hjs r270160 : #i92036# - two step move to have a simple rename in the shared dir --- helpcontent2/helpers/update_tree.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpcontent2/helpers/update_tree.pl b/helpcontent2/helpers/update_tree.pl index daa0fe2e49..36fab9ac5d 100644 --- a/helpcontent2/helpers/update_tree.pl +++ b/helpcontent2/helpers/update_tree.pl @@ -285,7 +285,8 @@ sub processtreefiles { else { unlink "$tree_dest/$lng/$tv" ; - mv $treetmpfile , "$tree_dest/$lng/$tv" or &terminate("Cannot write to $tree_dest/$lng/$tv"); + my $ret=mv $treetmpfile , "$tree_dest/$lng/$tv$inpath" or &terminate("Cannot write to $tree_dest/$lng/$tv$inpath - Error $!"); + my $ret=mv "$tree_dest/$lng/$tv$inpath" , "$tree_dest/$lng/$tv" or &terminate("Cannot write to $tree_dest/$lng/$tv - Error $!"); } } else { &terminate("Cannot write to $tvout"); -- cgit