summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-07-27 06:20:13 (GMT)
committer Jaromil <jaromil@dyne.org>2013-07-27 06:20:13 (GMT)
commit6b11a84cebb9520b6f0ca1572ff3994654536a04 (patch)
tree6face6d133a035e3199ce9f89e525677571f829b
parent96b2ccb430cc0359be68d9ec01b804ee78d6870e (diff)
start autorg on gnu from any dir
-rwxr-xr-xgnu/run.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/run.sh b/gnu/run.sh
index cffeb77..acda6d3 100755
--- a/gnu/run.sh
+++ b/gnu/run.sh
@@ -1,10 +1,11 @@
#!/bin/sh
-EMACS=emacs23-nox
-AUTORG="$HOME/autorg"
+EMACS=emacs
+AUTORG="`dirname $0 | sed 's/\/gnu$//'`"
TMP="/tmp/autorg"
mkdir -p $TMP
+echo "Starting autorg in $AUTORG"
# generate the emacs initialization
rm -f $TMP/.emacs
cat <<EOF > $TMP/.emacs