We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2888663 commit 72c4839Copy full SHA for 72c4839
util/calc_install_files
@@ -1,7 +1,10 @@
1
#!/usr/bin/env bash
2
# The $1 argument of this script should be the desired make target
3
4
+set -o pipefail
5
+
6
MAKE=${MAKE:-make}
-${MAKE} depend >& /dev/null
-${MAKE} CLIGHTGEN="CLIGHTGEN" -Bn veric floyd $1 2>/dev/null | \
7
- awk '/^echo COQC /{print $NF}/^CLIGHTGEN/{print $NF}'
+${MAKE} depend >& /dev/null || ${MAKE} depend >&2
8
+{ ${MAKE} CLIGHTGEN="CLIGHTGEN" -Bn veric floyd $1 2>/dev/null | \
9
+ awk '/^echo COQC /{print $NF}/^CLIGHTGEN/{print $NF}'; } || \
10
+ ${MAKE} CLIGHTGEN="CLIGHTGEN" -Bn veric floyd $1 >&2
0 commit comments