mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-02 20:28:40 +08:00
13 lines
232 B
Bash
13 lines
232 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
url="$2"
|
||
|
|
||
|
if [ -f 'EMQX_ENTERPRISE' ]; then
|
||
|
if [[ "$url" != *emqx-enterprise* ]]; then
|
||
|
echo "$(tput setaf 1)error: enterprise_code_to_non_enterprise_repo"
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|