# Pastebin KVEScEuD I keep the failed build directory, and I check the script that I'm trying to run, and now the `patchShebangs` has succeeded fixing the hashbang path. However this script tries to call make and then call bash again subsequently. It looks like I need to call `substituteInPlace` as well ``` #!/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash source="${BASH_SOURCE[0]}" while [ -h "$source" ]; do # resolve $source until the file is no longer a symlink script_dir="$(cd -P "$(dirname "$source")" >/dev/null && pwd)" source="$(readlink "$source")" [[ $source != /* ]] && source="$script_dir/$source" # if $source was a relative symlink, we need to resolve it relative to the path where the symlink file was located done script_dir="$(cd -P "$(dirname "$source" )" >/dev/null && pwd)" exec make --file=- script_dir="$script_dir" "$@" << 'EOF' SHELL := /usr/bin/env bash ```