From 149f99b08c090f47b8e9a0da935477c0a32a0823 Mon Sep 17 00:00:00 2001 From: Shinmera Date: Tue, 7 Jan 2020 12:54:18 +0100 Subject: [PATCH] Make sure to clear out the previous install directory so we don't have leftovers from when the version changes. --- build/emacs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/emacs.sh b/build/emacs.sh index ef7d859..6ae1f57 100755 --- a/build/emacs.sh +++ b/build/emacs.sh @@ -42,6 +42,9 @@ function build() { function install() { cd "$SOURCE_DIR" + # Ensure we clear out previous install + rm -R "$INSTALL_DIR/" + make install datadir="$INSTALL_DIR/share/" \ || eexit "The install failed. Please check the output for error messages."