Index: build/fake-bin/uname ================================================================== --- build/fake-bin/uname +++ build/fake-bin/uname @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ "$1" == "--fake" ]; then echo "true" exit 0 Index: build/make-kit-crosscompile ================================================================== --- build/make-kit-crosscompile +++ build/make-kit-crosscompile @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ -z "${CROSS}" ]; then echo 'Error: Environment variable CROSS is empty/unset. Aborting.' >&2 exit 1 Index: build/pre.sh ================================================================== --- build/pre.sh +++ build/pre.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash ./kitcreator distclean >/dev/null 2>/dev/null KITSHROOTDIR="$(ls -1d kitsh/buildsrc/kitsh-*/)" export KITSHROOTDIR Index: common/post/sdk.sh ================================================================== --- common/post/sdk.sh +++ common/post/sdk.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ -z "${TCLVERS}" ]; then echo 'This script is not meant to be run directly.' >&2 exit 1 Index: itcl/build.sh ================================================================== --- itcl/build.sh +++ itcl/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 Index: kitcreator ================================================================== --- kitcreator +++ kitcreator @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash TCLVERS="8.4.19" if echo "$1" | grep '^[0-9][0-9]*\.' >/dev/null || echo "$1" | egrep '^(cvs|fossil)_' >/dev/null; then TCLVERS="$1" Index: kitsh/build.sh ================================================================== --- kitsh/build.sh +++ kitsh/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 Index: mk4tcl/build.sh ================================================================== --- mk4tcl/build.sh +++ mk4tcl/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 Index: tcl/build.sh ================================================================== --- tcl/build.sh +++ tcl/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 Index: tcl/patchscripts/fixfixstrtod.sh ================================================================== --- tcl/patchscripts/fixfixstrtod.sh +++ tcl/patchscripts/fixfixstrtod.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash echo '#undef strtod' > 'compat/strtod.c.new' cat 'compat/strtod.c' >> 'compat/strtod.c.new' cat 'compat/strtod.c.new' > 'compat/strtod.c' rm -f 'compat/strtod.c.new' Index: tcl/patchscripts/macosx-fixheaders.sh ================================================================== --- tcl/patchscripts/macosx-fixheaders.sh +++ tcl/patchscripts/macosx-fixheaders.sh @@ -1,5 +1,5 @@ -#! /bin/bash +#! /usr/bin/env bash cp unix/*.h unix/install-sh macosx/ exit 0 Index: tcl/patchscripts/minbuild-nopkgs.sh ================================================================== --- tcl/patchscripts/minbuild-nopkgs.sh +++ tcl/patchscripts/minbuild-nopkgs.sh @@ -1,5 +1,5 @@ -#! /bin/bash +#! /usr/bin/env bash if [ -n "${KITCREATOR_MINBUILD}" ]; then rm -rf 'pkgs' fi Index: tcl/patchscripts/visibility-unhidden.sh ================================================================== --- tcl/patchscripts/visibility-unhidden.sh +++ tcl/patchscripts/visibility-unhidden.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ "${KITTARGET}" != "kitdll" ]; then exit 0 fi Index: tcl/patchscripts/win32-dllmain.sh ================================================================== --- tcl/patchscripts/win32-dllmain.sh +++ tcl/patchscripts/win32-dllmain.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ "${KITTARGET}" != "kitdll" ]; then exit 0 fi Index: tclvfs/build.sh ================================================================== --- tclvfs/build.sh +++ tclvfs/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 Index: thread/build.sh ================================================================== --- thread/build.sh +++ thread/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 Index: tk/build.sh ================================================================== --- tk/build.sh +++ tk/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 Index: tk/patchscripts/macosx-fixheaders.sh ================================================================== --- tk/patchscripts/macosx-fixheaders.sh +++ tk/patchscripts/macosx-fixheaders.sh @@ -1,5 +1,5 @@ -#! /bin/bash +#! /usr/bin/env bash cp unix/*.h unix/install-sh macosx/ exit 0 Index: tk/patchscripts/visibility-unhidden.sh ================================================================== --- tk/patchscripts/visibility-unhidden.sh +++ tk/patchscripts/visibility-unhidden.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ "${KITTARGET}" != "kitdll" ]; then exit 0 fi Index: zlib/build.sh ================================================================== --- zlib/build.sh +++ zlib/build.sh @@ -1,6 +1,6 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1