chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41b409
)
emacs: Pass arguments to temacs
author
Fredrik Fornwall
<fredrik@fornwall.net>
Mon, 3 Aug 2015 21:29:18 +0000
(17:29 -0400)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Mon, 3 Aug 2015 21:29:18 +0000
(17:29 -0400)
packages/emacs/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/emacs/build.sh
b/packages/emacs/build.sh
index 24f2adeda274dbfa2f24385d35040867cc2af065..e1ea24ebdaf1e127019c6777ea632af2ae078455 100644
(file)
--- a/
packages/emacs/build.sh
+++ b/
packages/emacs/build.sh
@@
-58,8
+58,8
@@
termux_step_post_configure () {
termux_step_post_make_install () {
rm $TERMUX_PREFIX/bin/emacs $TERMUX_PREFIX/bin/emacs-$TERMUX_PKG_VERSION
- echo "#!/
system
/bin/sh" > $TERMUX_PREFIX/bin/emacs
- echo "exec temacs -l loadup" >> $TERMUX_PREFIX/bin/emacs
+ echo "#!/
$TERMUX_PREFIX
/bin/sh" > $TERMUX_PREFIX/bin/emacs
+ echo "exec temacs -l loadup
\$@
" >> $TERMUX_PREFIX/bin/emacs
chmod +x $TERMUX_PREFIX/bin/emacs
cp $TERMUX_PKG_BUILDDIR/src/temacs $TERMUX_PREFIX/bin/temacs
}