summaryrefslogtreecommitdiffstats
path: root/solenv/inc/unitools.mk
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-06-17 13:15:46 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-06-17 13:15:46 +0000
commit87d871bf189038080c499ec898103c52d759c9a9 (patch)
tree5709ef1c5017242ea7b1fc83a686ca6cad9de379 /solenv/inc/unitools.mk
parentCWS-TOOLING: integrate CWS ause102 (diff)
downloadcore-87d871bf189038080c499ec898103c52d759c9a9.tar.gz
core-87d871bf189038080c499ec898103c52d759c9a9.zip
CWS-TOOLING: integrate CWS l10ncleanup04
2009-05-28 13:46:54 +0200 ihi r272407 : remove forgotten sdf's 2009-05-25 22:32:35 +0200 ihi r272273 : no WITH_LANG fix 2009-05-25 20:45:58 +0200 ihi r272272 : remove some comments 2009-05-25 19:55:21 +0200 ihi r272271 : svx dialog -> cui l10n move 2009-05-25 18:30:58 +0200 ihi r272268 : build fix 2009-05-18 16:32:02 +0200 ihi r272033 : bash fix 2009-05-18 16:31:32 +0200 ihi r272032 : bash fix 2009-05-14 16:23:39 +0200 ihi r271901 : #i79750# Translation moved to l10n module 2009-05-11 23:36:05 +0200 ihi r271793 : #i79750# Translation moved into own module
Diffstat (limited to 'solenv/inc/unitools.mk')
-rw-r--r--solenv/inc/unitools.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/solenv/inc/unitools.mk b/solenv/inc/unitools.mk
index 3da9ed392516..706ec8542988 100644
--- a/solenv/inc/unitools.mk
+++ b/solenv/inc/unitools.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: unitools.mk,v $
#
-# $Revision: 1.59 $
+# $Revision: 1.53.30.4 $
#
# This file is part of OpenOffice.org.
#
@@ -63,14 +63,17 @@ USQ:="
NULLDEV:=/dev/null
+
# iz29609 helpmacro to check if file exists
.IF "$(USE_SHELL)"=="bash"
-IFEXIST:=if test -e
-THEN:= ; then
+IFEXIST:=if [ -f
+IFNOTEXIST:= if ! test -f
+THEN:= ] ; then
FI:= ; fi
PIPEERROR=2>&1 |
.ELSE
IFEXIST:=if ( -e
+IFNOTEXIST:=if ( ! -e
THEN:= )
FI:=
PIPEERROR=|&
@@ -94,6 +97,7 @@ NULLDEV:=nul
# iz29609 helpmacro to check if file exists 4nt style
IFEXIST:=+if exist
+IFNOTEXIST:=+if not exist
THEN:=
FI:=
PIPEERROR=|&