Skip to content

Commit dea0865

Browse files
authored
Fix check on the number of passing parameters in build script (#149)
Co-authored-by: Ilya Isaev <[email protected]>
1 parent a9cecd3 commit dea0865

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

run_cibuildwheel_on_ec2.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
if [ $# -ne 6 ]; then
2-
echo "Invalid number of parameters, you need to provide role name, region name, bucket name, prefix, express region name and express bucket name"
3-
echo "Usage: $0 S3RoleName us-west-2 s3torchconnector-test-bucket-name prefix-name/ us-east-1 s3torchconnectorclient-express-bucket-name"
1+
if [ $# -ne 7 ]; then
2+
echo "Invalid number of parameters, you need to provide role name, region name, bucket name, prefix, express region name and express bucket name, custom endpoint for s3 standard"
3+
echo "Usage: $0 S3RoleName us-west-2 s3torchconnector-test-bucket-name prefix-name/ us-east-1 s3torchconnectorclient-express-bucket-name https://s3.amazon.com"
44
exit 1
55
fi
66

0 commit comments

Comments
 (0)