Browse Source

switch from sh to bash, add env

Grega Bremec 7 months ago
parent
commit
68fd3c537d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      code/get-logs.sh
  2. 1 1
      code/remove-logdirs.sh

+ 1 - 1
code/get-logs.sh

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 MYDIR=$(dirname $0)
 
 if [ ! -e "${MYDIR}/core-api-producer/payload.log" ]; then

+ 1 - 1
code/remove-logdirs.sh

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 if [ ! -d "./broker0" ]; then
     echo "ERROR: Can not find broker directory in current working dir."