diff --git a/codes/deploy/main.sh b/codes/deploy/main.sh index 1e636d4..f2c7dc3 100644 --- a/codes/deploy/main.sh +++ b/codes/deploy/main.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ################################################################################### # Linux Centos 环境部署脚本 # Author: Zhang Peng diff --git a/codes/deploy/tool/elk/boot-elk.sh b/codes/deploy/tool/elk/boot-elk.sh index d9af8dc..37a1666 100644 --- a/codes/deploy/tool/elk/boot-elk.sh +++ b/codes/deploy/tool/elk/boot-elk.sh @@ -1,4 +1,4 @@ -#!/bin/bash -li +#!/usr/bin/env bash # 检查脚本输入参数 checkInput() { diff --git a/codes/deploy/tool/sdk/install-sdk.sh b/codes/deploy/tool/sdk/install-sdk.sh index 672da56..d22cece 100644 --- a/codes/deploy/tool/sdk/install-sdk.sh +++ b/codes/deploy/tool/sdk/install-sdk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo -e "\n>>>>>>>>> install sdk" diff --git a/codes/deploy/tool/springboot/install-springboot.sh b/codes/deploy/tool/springboot/install-springboot.sh index 491492f..5344ce2 100644 --- a/codes/deploy/tool/springboot/install-springboot.sh +++ b/codes/deploy/tool/springboot/install-springboot.sh @@ -1,4 +1,4 @@ -#!/bin/bash -l +#!/usr/bin/env bash echo -e "\n>>>>>>>>> install springboot"