Always recreate brew caller script

This commit is contained in:
T. R. Bernstein
2025-10-18 00:32:19 +02:00
parent 53b8527e12
commit 604789d9a9

View File

@@ -107,6 +107,7 @@ function createBrewCallerScript() {
local brewCallerPath="${homebrewRepositoryPath}/bin/brew-caller"
local brewCallerSymlink="/usr/local/bin/brew"
[ -f "${brewCallerPath}" ] && rm "${brewCallerPath}"
[ -f "${brewCallerSymlink}" ] && rm "${brewCallerSymlink}"
cat <<- BREWCALLER | clang -x c -O2 -Wall -o "${brewCallerPath}" -
#include <unistd.h>
#include <sys/types.h>