Skip to content

Commit

Permalink
Improved compatibility: change"/bin/[x]" to "/usr/bin/env [x]" (#265)
Browse files Browse the repository at this point in the history
changed paths of the form "/bin/[x]" into "/usr/bin/env [x]" (#265)
  • Loading branch information
r-savu authored and Tom Limoncelli committed Aug 13, 2018
1 parent 74de17a commit dc9fa32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/_blackbox_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function fail_if_not_on_cryptlist() {

if ! is_on_cryptlist "$name" ; then
echo "ERROR: $name not found in $BB_FILES" >&2
echo "PWD=$(/bin/pwd)" >&2
echo "PWD=$(/usr/bin/env pwd)" >&2
echo 'Exiting...' >&2
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion blackbox.plugin.zsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/zsh
#!/usr/bin/env zsh
# The MIT License (MIT)

# Copyright (c) 2014 Stack Exchange, Inc.
Expand Down
2 changes: 1 addition & 1 deletion tools/profile.d-usrblackbox-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

# Test profile.d-usrblackbox.sh

Expand Down
2 changes: 1 addition & 1 deletion tools/test_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function assert_file_missing() {
function assert_file_exists() {
if [[ ! -e "$1" ]]; then
echo "ASSERT FAILED: ${1} should exist."
echo "PWD=$(/bin/pwd -P)"
echo "PWD=$(/usr/bin/env pwd -P)"
#echo "LS START"
#ls -la
#echo "LS END"
Expand Down

0 comments on commit dc9fa32

Please sign in to comment.