From 4a06e4a1e3463d5d6c97fc3b7abc333c740cb92d Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 11 Mar 2021 06:51:09 -0700 Subject: [PATCH] Chez Scheme: remove before install Removing the old executable before copying a new one in place avoids problems on ARM Mac OS, at least. --- racket/src/ChezScheme/makefiles/Mf-install.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/racket/src/ChezScheme/makefiles/Mf-install.in b/racket/src/ChezScheme/makefiles/Mf-install.in index bdaa0578df..3cc43429a9 100644 --- a/racket/src/ChezScheme/makefiles/Mf-install.in +++ b/racket/src/ChezScheme/makefiles/Mf-install.in @@ -107,6 +107,9 @@ scheme.1 petite.1: scheme.1.in I=./installsh -o "${InstallOwner}" -g "${InstallGroup}" bininstall: ${Bin} + rm -f ${SchemePath} + rm -f ${PetitePath} + rm -f ${SchemeScriptPath} $I -m 555 ${Scheme} ${SchemePath} ln -f ${SchemePath} ${PetitePath} ln -f ${SchemePath} ${SchemeScriptPath}