Chez Scheme: remove before install

Removing the old executable before copying a new one in place avoids
problems on ARM Mac OS, at least.
This commit is contained in:
Matthew Flatt 2021-03-11 06:51:09 -07:00
parent 44964359ae
commit 4a06e4a1e3

View File

@ -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}