From ebdaf336c7a6aebad5a69843eab713c54148084e Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 7 Feb 2024 15:20:22 +0100 Subject: [PATCH] [emacs] Oops --- e/emacs/SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e/emacs/SlackBuild b/e/emacs/SlackBuild index 54f0d93a..aeb43027 100755 --- a/e/emacs/SlackBuild +++ b/e/emacs/SlackBuild @@ -52,6 +52,9 @@ fi VERSION=${VERSION:-latest} REPOSITORY=/home/installs/SlackBuilds/_repositories/$PKGNAM +rm -rf "$PKG" +mkdir -p "$TMP" "$PKG" + [ ! -e $REPOSITORY ] && git clone git://git.savannah.gnu.org/emacs.git $REPOSITORY cd "$REPOSITORY" || exit 1 @@ -153,9 +156,6 @@ CONFIGURE_OPTIONS="--prefix=/usr \ $GWH_OPTIONS \ --build=${ARCH}-slackware-linux" -rm -rf "$PKG" -mkdir -p "$TMP" "$PKG" - #Build default version that is linked to X11 setup_sources