1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 08:17:51 +00:00

Toolchain: Make BuildFuseExt2.sh shellcheck compliant

BuildFuseExt2.sh was saying it should be run under /bin/sh but it is
using bash extensions like pushd/popd, ${BASH_SOURCE[0]}, etc. So just
run it under bash to avoid any potential issues.
This commit is contained in:
Brian Gianforcaro 2021-05-04 21:44:15 -07:00 committed by Andreas Kling
parent b4927a753d
commit f558a44610

View File

@ -1,4 +1,7 @@
#!/bin/sh
#!/usr/bin/env bash
set -e
# This file will need to be run in bash.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PATH="/usr/local/opt/m4/bin:$PATH"