Skip to content

Commit e04026f

Browse files
committed
Merge remote-tracking branch 'smortex/portability-fixes' into 1-5-4
2 parents dde7ca3 + c6d528b commit e04026f

File tree

18 files changed

+27
-26
lines changed

18 files changed

+27
-26
lines changed

examples/script-overrides/git-extract-submodules/git-extract.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is called from lib/octocatalog-diff/catalog-util/git.rb and is used to
44
# archive and extract a certain branch of a git repository into a target directory.

script/fmt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
44
RUBOCOP_YML="${DIR}/.rubocop.yml"

script/git-pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is being invoked via <root dir>/.git/hooks, hence the
44
# base directory is up two levels, not just one.

script/octocatalog-diff-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script exists to make it easier to test alternate branches of octocatalog-diff.
44
# It is intended as a one-for-one replacement of `octocatalog-diff` as installed by the gem.

script/puppet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
44

scripts/env/env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script echoes back the environment. This is used for spec testing
44
# and possible debugging.

scripts/git-extract/git-extract.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is called from lib/octocatalog-diff/catalog-util/git.rb and is used to
44
# archive and extract a certain branch of a git repository into a target directory.

scripts/puppet/puppet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Script to run Puppet. The default implementation here is simply to pass
44
# through the command line arguments (which are likely to be numerous when

spec/octocatalog-diff/fixtures/configs/trivial-enc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
# The simplest and least functional ENC you'll ever see
44
echo '---'
Binary file not shown.

0 commit comments

Comments
 (0)