[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] wrong exit status in build-improvements
From: |
Waldek Hebisch |
Subject: |
Re: [Axiom-developer] wrong exit status in build-improvements |
Date: |
Mon, 16 Oct 2006 03:00:17 +0200 (CEST) |
> Waldek Hebisch <address@hidden> writes:
>
> | Current "Standard boilerplate dependencies" give spurious failure.
> | This is caused by the last test commad in $(RECURSIVE_TARGETS).
> | The following fixed problem for me:
> |
> |
> | --- config/setup-dep.mk (wersja 182)
> | +++ config/setup-dep.mk (kopia robocza)
> | @@ -35,7 +35,7 @@
> | done; \
> | if test "$$dot_seen" = "no"; then \
> | $(ENV) $(MAKE) "$$target-ax" || exit 1; \
> | - fi; test -z "$$failcmd"
> | + fi
>
> Why do you think that is bogus?
> (That is what Automake generates for me.)
>
> -- Gaby
>
man test:
....
-z STRING
the length of STRING is zero
.....
At the beginning we have:
failcmd='exit 1';
On normal path (without -k option) there is no assignment to failcmd,
so the test fails and gives exit status 1.
--
Waldek Hebisch
address@hidden