Make bash shebangs through /usr/bin/env

This commit makes bash shebangs through /usr/bin/env. The originals work
correctly. However, it could be more flexible through /usr/bin/env. And
we already have a same thing in tools/tox_install.sh. So this commit
makes them consistent, too.

Change-Id: I35a6940cbd95c3b0f0d0f6391584b826e4de2ce5
This commit is contained in:
Masayuki Igawa 2017-04-11 16:24:00 +09:00
parent b86de8898f
commit e1a5083ea1
No known key found for this signature in database
GPG Key ID: 251CCDE9053850E4
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash -ex
#!/usr/bin/env bash
# Copyright 2016 Hewlett Packard Enterprise Development Company, L.P.
#
@ -38,6 +38,8 @@
# current working directory, it will be prepended or appended to
# the generated reStructuredText plugins table respectively.
set -ex
(
declare -A plugins

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
TOOLS_PATH=${TOOLS_PATH:-$(dirname $0)/../}
VENV_PATH=${VENV_PATH:-${TOOLS_PATH}}
VENV_DIR=${VENV_DIR:-/.venv}