From 1f3f7abc4953579da71a1f63ba65a0cd8be7a657 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 1 Apr 2015 11:49:37 +0200 Subject: [PATCH] extract EMACS_VERSION once --- e/emacs/emacs.SlackBuild | 1 - 1 file changed, 1 deletion(-) diff --git a/e/emacs/emacs.SlackBuild b/e/emacs/emacs.SlackBuild index 1b14f13e..151bf404 100755 --- a/e/emacs/emacs.SlackBuild +++ b/e/emacs/emacs.SlackBuild @@ -112,7 +112,6 @@ make bootstrap make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -EMACS_VERSION=$(echo "$(basename $(ls $PKG/usr/bin/emacs-2*))" | grep -o "[0-9\.]*") ( cd $PKG/usr/bin rm emacs mv emacs-${EMACS_VERSION} emacs-${EMACS_VERSION}-with-x11