Title: Probably a bug

Hi,

I have a suspicion you have a bug in the following gmake version for Solaris.  Please let me know how to overcome the problem. Please read up to the end, since the problem is described there.

Gmake version is :

> gmake -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


Make definitions :

DomainParamFile = $(wildcard $(PARAM_FILES_LOC)/domainparam.xml)
DomainParamFileLoc = $(PARAM_FILES_LOC)/domainparam.xml
ifeq ($(strip $(DomainParamFile)),)
  DomainParamFileLoc =  $(MASTER_PARAM_FILE_LOC)/domainparam.xml
endif


Prints of the definitions:

Inside the xmlDomain : DomainParamFileLoc = >/abshome/ip/ccip/ccip/module/gn/v60
0/tmpConfigFiles/domainparam.xml<
DomainParamFile = >/ipuser20.v894/ip/infra/anatsh/module/gn/v600/tmpConfigFiles/
domainparam.xml<
PARAM_FILES_LOC = >/ipuser20.v894/ip/infra/anatsh/module/gn/v600/tmpConfigFiles<
MASTER_PARAM_FILE_LOC = >/abshome/ip/ccip/ccip/module/gn/v600/tmpConfigFiles<
/abshome/ip/ccip/ccip/proj/ginftl600V64/bin/XGenApp.ksh -param /abshome/ip/ccip/
ccip/module/gn/v600/tmpConfigFiles/domainparam.xml -out /ipuser20.v894/ip/infra/
anatsh/proj/ggen600V64/gn_generated -checkInput /ipuser20.v894/ip/infra/anatsh/b
b/ggngdd/v60_0/gn/src

The Problem :

The file in the  DomainParamFile exists, so the value is not empty, but instead of taking the first definition of DomainParamFileLoc , it always enters the "if" condition and overides the first definition. I tried the "if/else" too, and got the same result.

Regards,
Inna Gauskin
XtraC team
email [EMAIL PROTECTED]
09-7960193

-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.


-------------------------------------------------------------------------------------
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to