Skip to content

Commit

Permalink
Make sure to clear out the previous install directory so we don't hav…
Browse files Browse the repository at this point in the history
…e leftovers from when the version changes.
  • Loading branch information
Shinmera committed Jan 7, 2020
1 parent 8e9c1b8 commit 149f99b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/emacs.sh
Expand Up @@ -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."

Expand Down

0 comments on commit 149f99b

Please sign in to comment.