Use 4-space indentation in shell scripts
8-space indentation gets very cramped when limiting lines
to 80 characters.
@@ -256,18 +256,16 @@ if [ -d /etc/appscale/certs ]; then
# Upgrade the repository. If GIT_TAG is empty, we are on HEAD.
if [ -n "${GIT_TAG}" ]; then
if ! (cd appscale; git checkout "$GIT_TAG"); then
- echo "Please stash your local unsaved changes"\
- "and checkout the version of AppScale"\
- "you are currently using to fix this "\
- "error."
+ echo "Please stash your local unsaved changes and checkout"\
+ "the version of AppScale you are currently using to fix"\
+ "this error."
echo "e.g.: git stash; git checkout <AppScale-version>"
exit 1
fi
if ! (cd appscale-tools; git checkout "$GIT_TAG"); then
- echo "Please stash your local unsaved changes"\
- "and checkout the version of "\
- "appscale-tools you are currently using"\
+ echo "Please stash your local unsaved changes and checkout"\
+ "the version of appscale-tools you are currently using"\
"to fix this error."
echo "e.g.: git stash; git checkout <appscale-tools-version>"
exit 1
