scripts/vagrant: exit on first script error
Use bash -e option to exit from script if any error occurs. Change-Id: Ieaad74df4598e193f619947ad34d5a1fc572d1a9 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477453 Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
de467ec91d
commit
08b23462f5
@ -7,6 +7,8 @@
|
||||
# This script creates a subdirectory called $PWD/<distro> and copies the Vagrantfile
|
||||
# into that directory before running 'vagrant up'
|
||||
|
||||
set -e
|
||||
|
||||
VAGRANT_TARGET="$PWD"
|
||||
|
||||
DIR="$( cd "$( dirname $0 )" && pwd )"
|
||||
|
Loading…
Reference in New Issue
Block a user