Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 758ba9c

Browse files
committedMar 7, 2020
cleanup scripts
1 parent 8faa29b commit 758ba9c

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed
 

‎sample-apps/blank-java/4-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
88
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
99
case $response in
1010
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
11-
[Nn]* ) exit;;
11+
[Nn]* ) break;;
1212
* ) echo "Response must start with y or n.";;
1313
esac
1414
done

‎sample-apps/blank-python/4-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
88
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
99
case $response in
1010
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
11-
[Nn]* ) exit;;
11+
[Nn]* ) break;;
1212
* ) echo "Response must start with y or n.";;
1313
esac
1414
done

‎sample-apps/blank-ruby/4-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
88
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
99
case $response in
1010
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
11-
[Nn]* ) exit;;
11+
[Nn]* ) break;;
1212
* ) echo "Response must start with y or n.";;
1313
esac
1414
done

‎sample-apps/blank/4-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
88
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
99
case $response in
1010
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
11-
[Nn]* ) exit;;
11+
[Nn]* ) break;;
1212
* ) echo "Response must start with y or n.";;
1313
esac
1414
done

‎sample-apps/ec2-spot/4-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ -f bucket-name.txt ]; then
77
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
88
case $response in
99
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
10-
[Nn]* ) exit;;
10+
[Nn]* ) break;;
1111
* ) echo "Response must start with y or n.";;
1212
esac
1313
done

‎sample-apps/error-processor/4-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ -f bucket-name.txt ]; then
1414
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
1515
case $response in
1616
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
17-
[Nn]* ) exit;;
17+
[Nn]* ) break;;
1818
* ) echo "Response must start with y or n.";;
1919
esac
2020
done

‎sample-apps/java-basic/4-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
88
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
99
case $response in
1010
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
11-
[Nn]* ) exit;;
11+
[Nn]* ) break;;
1212
* ) echo "Response must start with y or n.";;
1313
esac
1414
done

‎sample-apps/list-manager/8-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ -f bucket-name.txt ]; then
99
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
1010
case $response in
1111
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; break;;
12-
[Nn]* ) exit;;
12+
[Nn]* ) break;;
1313
* ) echo "Response must start with y or n.";;
1414
esac
1515
done

‎sample-apps/rds-mysql/7-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [ -f bucket-name.txt ]; then
1313
read -p "Delete deployment artifacts and bucket ($ARTIFACT_BUCKET)?" response
1414
case $response in
1515
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET; rm bucket-name.txt; rm out.yml out.json 4-deploy.sh; rm -rf lib/nodejs/node_modules; break;;
16-
[Nn]* ) exit;;
16+
[Nn]* ) break;;
1717
* ) echo "Response must start with y or n.";;
1818
esac
1919
done

0 commit comments

Comments
 (0)
Please sign in to comment.