-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass stderr through calc_install_files when commands fail
- Loading branch information
1 parent
2888663
commit 72c4839
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#!/usr/bin/env bash | ||
# The $1 argument of this script should be the desired make target | ||
|
||
set -o pipefail | ||
|
||
MAKE=${MAKE:-make} | ||
${MAKE} depend >& /dev/null | ||
${MAKE} CLIGHTGEN="CLIGHTGEN" -Bn veric floyd $1 2>/dev/null | \ | ||
awk '/^echo COQC /{print $NF}/^CLIGHTGEN/{print $NF}' | ||
${MAKE} depend >& /dev/null || ${MAKE} depend >&2 | ||
{ ${MAKE} CLIGHTGEN="CLIGHTGEN" -Bn veric floyd $1 2>/dev/null | \ | ||
awk '/^echo COQC /{print $NF}/^CLIGHTGEN/{print $NF}'; } || \ | ||
${MAKE} CLIGHTGEN="CLIGHTGEN" -Bn veric floyd $1 >&2 |