mirror of
https://github.com/Hill-98/aliyun-openapi-bash-sdk.git
synced 2025-10-23 02:19:33 +08:00
Do not run SDK scripts alone
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/false
|
||||
# shellcheck shell=bash
|
||||
|
||||
for c in openssl curl; do
|
||||
if ! command -v ${c} > /dev/null; then
|
||||
if ! command -v ${c} &> /dev/null; then
|
||||
echo "Aliyun OpenAPI SDK: ${c} command not found"
|
||||
exit 127
|
||||
fi
|
||||
|
Reference in New Issue
Block a user