mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-15 13:53:05 +00:00
Simplify travis run script, and make it work when ECUKES_EMACS has a space in the path
Yes, on OS X, one might have: ECUKES_EMACS='/Applications/Emacs 23.app/Contents/MacOS/Emacs'
This commit is contained in:
parent
94164f706a
commit
dc0aa99459
@ -1,20 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
set_default () {
|
ECUKES_EMACS=${ECUKES_EMACS:-$(which emacs)}
|
||||||
eval "
|
|
||||||
if [ -z \$$1 ]; then
|
|
||||||
$1=$2
|
|
||||||
fi
|
|
||||||
"
|
|
||||||
}
|
|
||||||
|
|
||||||
set_default ECUKES_EMACS "$(which emacs)"
|
|
||||||
|
|
||||||
echo "*** Emacs version ***"
|
echo "*** Emacs version ***"
|
||||||
echo "ECUKES_EMACS =" $(which $ECUKES_EMACS)
|
echo "ECUKES_EMACS = $ECUKES_EMACS"
|
||||||
$ECUKES_EMACS --version
|
"$ECUKES_EMACS" --version
|
||||||
echo
|
echo
|
||||||
|
|
||||||
exec ./util/ecukes/ecukes --graphical
|
exec ./util/ecukes/ecukes --graphical
|
||||||
|
Loading…
x
Reference in New Issue
Block a user