Avoid variable name conflicts
This commit is contained in:
parent
0d407450dc
commit
e23e702b4e
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
for _command in openssl curl; do
|
for _aliapi_command in openssl curl; do
|
||||||
if ! command -v $_command &> /dev/null; then
|
if ! command -v $_aliapi_command &> /dev/null; then
|
||||||
echo "Aliyun OpenAPI SDK: $_command command not found"
|
echo "Aliyun OpenAPI SDK: $_aliapi_command command not found"
|
||||||
exit 127
|
exit 127
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
unset _command
|
unset _aliapi_command
|
||||||
|
|
||||||
# aliapi_rpc <http_method> <host> <api_version> <api_action> [<--key> <value>...]
|
# aliapi_rpc <http_method> <host> <api_version> <api_action> [<--key> <value>...]
|
||||||
aliapi_rpc() {
|
aliapi_rpc() {
|
||||||
|
|
Loading…
Reference in New Issue