Add set -eux
This script should be set -e. Also added -ux for good measure. On RHEL, os-refresh-config was failing to run due to a missing requirements.txt line on argparse (separate patch), however the failure was not failing the image build b/c this script was not -e. Change-Id: Id36d61442d8104cada8346f47e63858cf7f08096
This commit is contained in:
parent
a41b6732a6
commit
4c60c96172
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
SCRIPT_BASE=$(os-refresh-config --print-base)
|
||||
SCRIPT_SOURCE=$(dirname $0)/../os-refresh-config
|
||||
rsync -r $SCRIPT_SOURCE/ $SCRIPT_BASE/
|
||||
|
Loading…
Reference in New Issue
Block a user