Commits

Brandon Mitchell committed d140a6d

Use /usr/bin/env bash in lieu of /bin/bash in scripts.

  • Participants
  • Parent commits 7faf13d
  • Branches bash

Comments (0)

Files changed (22)

File base/async/core/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/async/extra/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/async/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/async/scheduler/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 enable_linux=false

File base/bin-prot/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/compare/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/compare/preprocess.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u
 [[ "$#" != 1 ]] && { echo "usage: $0  FILE_TO_PREPROCESS" >&2; exit 1; }
 [[ -f "$(hg root)/lib/pa_compare.cmo" ]] || {

File base/core/extended/lib/service-template.sh

-#!/bin/bash
+#!/usr/bin/env bash
 #
 #	/etc/rc.d/init.d/foo
 #

File base/core/extended/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 enable_linux=false

File base/core/lib/discover.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 ML_OUTFILE="${1:?Usage: discover.sh ML_OUTFILE C_OUTFILE}"

File base/core/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 enable_linux=false

File base/fieldslib/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/fieldslib/syntax/run.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u
 jomake --command=camlp4orf -I "$(hg root)/lib" pa_type_conv.cmo pa_fields_conv.cmo $@

File base/pa_ounit/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/pa_ounit/preprocess.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u
 LIB=pa_ounit
 [[ "$#" != 1 ]] && { echo "usage: $0  FILE_TO_PREPROCESS" >&2; exit 1; }

File base/pipebang/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/sexplib/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/type-conv/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/typehash/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/variantslib/oasis.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u -o -pipefail
 
 here="$(dirname "${BASH_SOURCE[0]}")"

File base/variantslib/preprocess.sh

-#!/bin/bash
+#!/usr/bin/env bash
 set -e -u
 [[ "$#" != 1 ]] && { echo "usage: $0  FILE_TO_PREPROCESS" >&2; exit 1; }
 [[ -f "$(hg root)/lib/pa_variants_conv.cmo" ]] || {

File build-and-install

-#!/bin/bash
+#!/usr/bin/env bash
 set -u -o pipefail
 
 function usage {