extract EMACS_VERSION once
This commit is contained in:
parent
d1c8f3ce3b
commit
1f3f7abc49
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue