File tree Expand file tree Collapse file tree 9 files changed +9
-9
lines changed Expand file tree Collapse file tree 9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
8
8
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
9
9
case $response in
10
10
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
11
- [Nn]* ) exit ;;
11
+ [Nn]* ) break ;;
12
12
* ) echo " Response must start with y or n." ;;
13
13
esac
14
14
done
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
8
8
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
9
9
case $response in
10
10
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
11
- [Nn]* ) exit ;;
11
+ [Nn]* ) break ;;
12
12
* ) echo " Response must start with y or n." ;;
13
13
esac
14
14
done
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
8
8
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
9
9
case $response in
10
10
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
11
- [Nn]* ) exit ;;
11
+ [Nn]* ) break ;;
12
12
* ) echo " Response must start with y or n." ;;
13
13
esac
14
14
done
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
8
8
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
9
9
case $response in
10
10
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
11
- [Nn]* ) exit ;;
11
+ [Nn]* ) break ;;
12
12
* ) echo " Response must start with y or n." ;;
13
13
esac
14
14
done
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ -f bucket-name.txt ]; then
7
7
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
8
8
case $response in
9
9
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
10
- [Nn]* ) exit ;;
10
+ [Nn]* ) break ;;
11
11
* ) echo " Response must start with y or n." ;;
12
12
esac
13
13
done
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ if [ -f bucket-name.txt ]; then
14
14
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
15
15
case $response in
16
16
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
17
- [Nn]* ) exit ;;
17
+ [Nn]* ) break ;;
18
18
* ) echo " Response must start with y or n." ;;
19
19
esac
20
20
done
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ -f bucket-name.txt ]; then
8
8
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
9
9
case $response in
10
10
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
11
- [Nn]* ) exit ;;
11
+ [Nn]* ) break ;;
12
12
* ) echo " Response must start with y or n." ;;
13
13
esac
14
14
done
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if [ -f bucket-name.txt ]; then
9
9
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
10
10
case $response in
11
11
[Yy]* ) aws s3 rb --force s3://$ARTIFACT_BUCKET ; rm bucket-name.txt; break ;;
12
- [Nn]* ) exit ;;
12
+ [Nn]* ) break ;;
13
13
* ) echo " Response must start with y or n." ;;
14
14
esac
15
15
done
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if [ -f bucket-name.txt ]; then
13
13
read -p " Delete deployment artifacts and bucket ($ARTIFACT_BUCKET )?" response
14
14
case $response in
15
15
[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 ;;
17
17
* ) echo " Response must start with y or n." ;;
18
18
esac
19
19
done
You can’t perform that action at this time.
0 commit comments