make RDC actually exit on failure
This commit is contained in:
parent
3e2e5e3f57
commit
94e0eeaecb
3
rdc.sh
3
rdc.sh
|
@ -17,8 +17,9 @@ if (( ${#non_ok[@]} != 0 )); then
|
||||||
>&2 echo " From which, these are missing:"
|
>&2 echo " From which, these are missing:"
|
||||||
>&2 echo " > $non_ok"
|
>&2 echo " > $non_ok"
|
||||||
>&2 echo "Make sure that those are installed and are present in \$PATH."
|
>&2 echo "Make sure that those are installed and are present in \$PATH."
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset non_ok{{if .UnsetDeps}}
|
unset non_ok{{if .UnsetDeps}}
|
||||||
unset {{.DepsVar}}
|
unset {{.DepsVar}}
|
||||||
{{end}}# Dependencies are OK at this point
|
{{end}}# Dependencies are OK at this point
|
||||||
|
|
Loading…
Reference in New Issue