From 7ccbb190af052f1899c4295491a6e107430a5065 Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Fri, 23 Feb 2018 15:42:53 +0800 Subject: [PATCH] =?UTF-8?q?:ok=5Fhand:=20=E7=BB=9F=E4=B8=80=20shebang?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codes/deploy/main.sh | 2 +- codes/deploy/tool/elk/boot-elk.sh | 2 +- codes/deploy/tool/sdk/install-sdk.sh | 2 +- codes/deploy/tool/springboot/install-springboot.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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"