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
|
||||
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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
# The MIT License (MIT)
|
||||
|
||||
# Copyright (c) 2014 Stack Exchange, Inc.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Test profile.d-usrblackbox.sh
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user