use /usr/bin/env to find bash in scripts (#314)

This commit is contained in:
Marek Mahut
2021-04-22 23:45:33 +02:00
committed by GitHub
parent a711bd9494
commit dcda342ecc
10 changed files with 10 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
PACKAGERUNTIME=$1
PRECACHE=$2

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
SVC_NAME="{{SvcNameVar}}"
SVC_NAME=${SVC_NAME// /_}

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
user_id=`id -u`

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# convert SIGTERM signal to SIGINT
# for more info on how to propagate SIGTERM to a child process see: http://veithen.github.io/2014/11/16/sigterm-propagation.html

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
SVC_NAME="{{SvcNameVar}}"
SVC_NAME=${SVC_NAME// /_}

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# runner will replace key words in the template and generate a batch script to run.
# Keywords:

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
user_id=`id -u`

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
varCheckList=(
'LANG'

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Validate not sudo
user_id=`id -u`

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
###############################################################################
#