bootstrap-awscli: Remove executable bit.

Even though this looks like an independently runnable script, it
should not be run independently: a SHA-256 mismatch will fail to stop
the script, unless it was sourced from another script that has ‘set
-e’.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-06-24 18:24:21 -07:00
committed by Alex Vandiver
parent e76fd775ba
commit 06033545eb
3 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ set -x
cd "$(dirname "$0")"
source ./bootstrap-awscli
source ./bootstrap-awscli.sh
zulip_install_config_file="$HOME/.zulip-install-server.conf"
if [ ! -f "$zulip_install_config_file" ]; then
@@ -105,7 +105,7 @@ BOOTDATA=$(mktemp)
echo "REPO_URL=$REPO_URL"
echo "BRANCH=$BRANCH"
echo "SSH_SECRET_ID=$SSH_SECRET_ID"
sed '/^AWS=/ r ./bootstrap-awscli' bootstrap-aws-installer
sed '/^AWS=/ r ./bootstrap-awscli.sh' bootstrap-aws-installer
} >>"$BOOTDATA"
TAG_ROLE_NAMES=$(echo "$ROLES" | perl -pe 's/\w+::profile::(\w+)/$1/g')