]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
install-deps.sh: exit on error if dependencies cannot be installed 4615/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 8 May 2015 07:19:44 +0000 (09:19 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 8 May 2015 07:46:02 +0000 (09:46 +0200)
commitc255e809fab0a48caf939f99c7cdd8d885577087
tree0ec79ea1cdc0fdbacd5985cd08d8920aa953f2b2
parent7b28a6fd87d1c50939918875b8fc9f97019e4cd0
install-deps.sh: exit on error if dependencies cannot be installed

Now that pre-installing pip dependencies is done at the end of the
script, the last command to run is no longer the installation
command. Therefore the status of the script is no longer the status of
the install command and no longer reflect success or failure to install
the dependencies. Add explicit || exit 1 to commands that are to be
treated as fatal errors.

Also set -e so that another error has a better chance to be caught.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
install-deps.sh