Paul,
It's just the syntax of the while command in c or tc shell:
while (expression)
command(s)
end
and your suggestion, unfortunately, doesn't work. Plus, I really don't want
to switch to sh shell since our group uses c/tc shell, i.e. I'd rather stick
with the simple script.
So, does anyone have any idea how to do what I want in c/tc shell?
Thanks,
Eric
-----Original Message-----
From: Paul D. Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 3:50 PM
To: Asperheim, Eric
Cc: '[EMAIL PROTECTED]'
Subject: Re: issue with TCSH and gmake
%% "Asperheim, Eric" <[EMAIL PROTECTED]> writes:
ae> Does anyone know of a way to do this inside gmake - eliminating
ae> need for wait_for.tcsh script?
I know next to nothing about tcsh, but why doesn't something like this:
foo:
command to create $@
while (! -e $@); sleep 5; end
work? If you were using SHELL = sh instead of tcsh, this would be
trivial.
--
----------------------------------------------------------------------------
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make