summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-03-18 07:20:06 +0100
committerGitHub <noreply@github.com>2021-03-18 06:20:06 +0000
commit15645147ed55ee5c77ed3b9672d97d8d4988a880 (patch)
tree679aecf38040a54e0447cf03ce74dd80bbc8a6ef /share
parent441d09cc27adbec59294e21bae53dccd5e627ad3 (diff)
downloadspack-15645147ed55ee5c77ed3b9672d97d8d4988a880.tar.gz
spack-15645147ed55ee5c77ed3b9672d97d8d4988a880.tar.bz2
spack-15645147ed55ee5c77ed3b9672d97d8d4988a880.tar.xz
spack-15645147ed55ee5c77ed3b9672d97d8d4988a880.zip
Tab to spaces (#22362)
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/setup-env.sh4
-rwxr-xr-xshare/spack/setup-tutorial-env.sh8
2 files changed, 6 insertions, 6 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index cbee4428d0..a64e371f0c 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -303,12 +303,12 @@ _spack_pathadd PATH "${_sp_prefix%/}/bin"
# Check whether a function of the given name is defined
#
_spack_fn_exists() {
- LANG= type $1 2>&1 | grep -q 'function'
+ LANG= type $1 2>&1 | grep -q 'function'
}
need_module="no"
if ! _spack_fn_exists use && ! _spack_fn_exists module; then
- need_module="yes"
+ need_module="yes"
fi;
# Define the spack shell function with some informative no-ops, so when users
diff --git a/share/spack/setup-tutorial-env.sh b/share/spack/setup-tutorial-env.sh
index 102d2b1c48..16c34ecd43 100755
--- a/share/spack/setup-tutorial-env.sh
+++ b/share/spack/setup-tutorial-env.sh
@@ -95,16 +95,16 @@ INSTANCEID=$(curl http://169.254.169.254/latest/meta-data//instance-id)
# Get the ID of the Amazon EBS volume associated with the instance.
VOLUMEID=$(aws ec2 describe-instances \
- --instance-id $INSTANCEID \
- --query "Reservations[0].Instances[0].BlockDeviceMappings[0].Ebs.VolumeId" \
- --output text)
+ --instance-id $INSTANCEID \
+ --query "Reservations[0].Instances[0].BlockDeviceMappings[0].Ebs.VolumeId" \
+ --output text)
# Resize the EBS volume.
aws ec2 modify-volume --volume-id $VOLUMEID --size $SIZE
# Wait for the resize to finish.
while [ \
- "$(aws ec2 describe-volumes-modifications \
+ "$(aws ec2 describe-volumes-modifications \
--volume-id $VOLUMEID \
--filters Name=modification-state,Values="optimizing","completed" \
--query "length(VolumesModifications)"\