Always recreate brew caller script
This commit is contained in:
@@ -107,6 +107,7 @@ function createBrewCallerScript() {
|
|||||||
local brewCallerPath="${homebrewRepositoryPath}/bin/brew-caller"
|
local brewCallerPath="${homebrewRepositoryPath}/bin/brew-caller"
|
||||||
local brewCallerSymlink="/usr/local/bin/brew"
|
local brewCallerSymlink="/usr/local/bin/brew"
|
||||||
[ -f "${brewCallerPath}" ] && rm "${brewCallerPath}"
|
[ -f "${brewCallerPath}" ] && rm "${brewCallerPath}"
|
||||||
|
[ -f "${brewCallerSymlink}" ] && rm "${brewCallerSymlink}"
|
||||||
cat <<- BREWCALLER | clang -x c -O2 -Wall -o "${brewCallerPath}" -
|
cat <<- BREWCALLER | clang -x c -O2 -Wall -o "${brewCallerPath}" -
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user