OSTYPE missing
Tibor Földes
tfoeldes@comple.at
Mon Nov 12 12:09:00 GMT 2001
Bruce Eckel wrote:
>
> I just updated to the latest Cygwin version, and suddenly the
> following lines in my makefile (which worked previously) are
> failing:
>
> ifneq ($(OSTYPE),cygwin)
> $(error Must be run under Cygwin, ostype is $(OSTYPE))
> endif
>
> $(OSTYPE) is only producing '.'
>
> Most current information can be found at:
> http://www.mindview.net/Etc/notes.html
> ===================
> Bruce Eckel http://www.BruceEckel.com
> Contains free electronic books: "Thinking in Java 2e" & "Thinking
> in C++ 2e"
> Please subscribe to my free newsletter -- just send any email to:
> join-eckel-oo-programming@earth.lyris.net
> My schedule can be found at:
> http://www.mindview.net/Calendar
> ===================
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
The problem is that bash not exports OSTYPE .
Workaround :
export OSTYPE in ~/.bashrc
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list