Improved compatibility: change"/bin/[x]" to "/usr/bin/env [x]" (#265)
changed paths of the form "/bin/[x]" into "/usr/bin/env [x]" (#265)
This commit is contained in:
@@ -140,7 +140,7 @@ function fail_if_not_on_cryptlist() {
|
|||||||
|
|
||||||
if ! is_on_cryptlist "$name" ; then
|
if ! is_on_cryptlist "$name" ; then
|
||||||
echo "ERROR: $name not found in $BB_FILES" >&2
|
echo "ERROR: $name not found in $BB_FILES" >&2
|
||||||
echo "PWD=$(/bin/pwd)" >&2
|
echo "PWD=$(/usr/bin/env pwd)" >&2
|
||||||
echo 'Exiting...' >&2
|
echo 'Exiting...' >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/zsh
|
#!/usr/bin/env zsh
|
||||||
# The MIT License (MIT)
|
# The MIT License (MIT)
|
||||||
|
|
||||||
# Copyright (c) 2014 Stack Exchange, Inc.
|
# Copyright (c) 2014 Stack Exchange, Inc.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Test profile.d-usrblackbox.sh
|
# Test profile.d-usrblackbox.sh
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function assert_file_missing() {
|
|||||||
function assert_file_exists() {
|
function assert_file_exists() {
|
||||||
if [[ ! -e "$1" ]]; then
|
if [[ ! -e "$1" ]]; then
|
||||||
echo "ASSERT FAILED: ${1} should exist."
|
echo "ASSERT FAILED: ${1} should exist."
|
||||||
echo "PWD=$(/bin/pwd -P)"
|
echo "PWD=$(/usr/bin/env pwd -P)"
|
||||||
#echo "LS START"
|
#echo "LS START"
|
||||||
#ls -la
|
#ls -la
|
||||||
#echo "LS END"
|
#echo "LS END"
|
||||||
|
|||||||
Reference in New Issue
Block a user