again
This commit is contained in:
parent
dc42ac5bd7
commit
f0263330ec
1 changed files with 4 additions and 4 deletions
|
@ -111,14 +111,14 @@ make install DESTDIR=$PKG || exit 1
|
||||||
|
|
||||||
EMACS_VERSION=$(echo "$(basename $(ls $PKG/usr/bin/emacs-2*))" | grep -o "[0-9\.]*")
|
EMACS_VERSION=$(echo "$(basename $(ls $PKG/usr/bin/emacs-2*))" | grep -o "[0-9\.]*")
|
||||||
( cd $PKG/usr/bin
|
( cd $PKG/usr/bin
|
||||||
rm emacs
|
rm emacs
|
||||||
mv emacs-${EMACS_VERSION} emacs-${EMACS_VERSION}-with-x11
|
mv emacs-${EMACS_VERSION} emacs-${EMACS_VERSION}-with-x11
|
||||||
cat <<EOF > $PKG/usr/bin/emacs
|
cat <<EOF > $PKG/usr/bin/emacs
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
XMODIFIERS= GTK_IM_MODULE= QT_IM_MODULE= /usr/bin/emacs-${EMACS_VERSION}-with-x11 "\$@"
|
XMODIFIERS= GTK_IM_MODULE= QT_IM_MODULE= /usr/bin/emacs-${EMACS_VERSION}-with-x11 "\$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x $PKG/usr/bin/emacs
|
chmod +x $PKG/usr/bin/emacs
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ $ONLY_X11 == 0 ] ; then
|
if [ $ONLY_X11 == 0 ] ; then
|
||||||
|
|
Loading…
Reference in a new issue