Spacing cleanups.
Change-Id: I0567eba8ff5205afb60d5fb7eebe1dd8a9c910e1
This commit is contained in:
parent
390dd4340a
commit
970f8cabd4
8
smithy
8
smithy
@ -193,12 +193,13 @@ fi
|
|||||||
## Bootstrap smithy
|
## Bootstrap smithy
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
echo "You must run 'smithy --bootstrap' with root privileges!" >&2
|
echo "You must run 'smithy --bootstrap' with root privileges!" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ ! -f $BSCONF_FILE ]; then
|
if [ ! -f $BSCONF_FILE ]; then
|
||||||
echo "Anvil has not been tested on distribution '$OSNAME'" >&2
|
echo "Anvil has not been tested on distribution '$OSNAME'" >&2
|
||||||
puke
|
puke
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Sourcing $BSCONF_FILE"
|
echo "Sourcing $BSCONF_FILE"
|
||||||
source $BSCONF_FILE
|
source $BSCONF_FILE
|
||||||
MIN_RELEASE=${MIN_RELEASE:?"Error: MIN_RELEASE is undefined!"}
|
MIN_RELEASE=${MIN_RELEASE:?"Error: MIN_RELEASE is undefined!"}
|
||||||
@ -212,7 +213,6 @@ fi
|
|||||||
|
|
||||||
echo "Bootstrapping $SHORTNAME $RELEASE"
|
echo "Bootstrapping $SHORTNAME $RELEASE"
|
||||||
echo "Please wait..."
|
echo "Please wait..."
|
||||||
|
|
||||||
for step in ${STEPS:?"Error: STEPS is undefined!"}; do
|
for step in ${STEPS:?"Error: STEPS is undefined!"}; do
|
||||||
bootstrap_${step}
|
bootstrap_${step}
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user