Re: Error in make file
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 02:40:57 GMT
Baho Utot <baho-utot@xxxxxxxxxxxx> writes:
Dan Espen wrote:
Baho Utot <baho-utot@xxxxxxxxxxxx> writes:
Dan Espen wrote:
Baho Utot <baho-utot@xxxxxxxxxxxx> writes:
The following is a fragment of my Makefile (GNU Make 3.81).
PKGLIST = Linux-API-Headers Man-pages Glibc
errors:
for dir in $(PKGLIST); do \
echo "Checking: "$$dir; \
grep Error $$dir/Build.Log; \
done
Anyone know the fix?
Just prefix the whole command with "-".
Well Ok i did that.
It is still there as it, Now it prints
make: [errors] Error 1 (ignored)
Yes, that's the way it tells you there was an
error but it's continuing anway.
Oh well maybe I should just leave it :)
If it really bothers you that much, change the shell.
For example, if you want to suppress a failure in
the shell you can say, if a command fails, that's OK:
grep Error $$dir/Build.Log || true;
That will make the line always give a good return code.
.
- References:
- Error in make file
- From: Baho Utot
- Re: Error in make file
- From: Dan Espen
- Re: Error in make file
- From: Baho Utot
- Re: Error in make file
- From: Dan Espen
- Re: Error in make file
- From: Baho Utot
- Error in make file
- Prev by Date: Re: snmpd silently dies after being started
- Next by Date: ext3 lvm disk Journal has aborted
- Previous by thread: Re: Error in make file
- Next by thread: Mail Server
- Index(es):