From: Zooko <zooko@zooko.com>
Date: Tue, 12 Nov 2002 21:20:40 -0500
Subject: [e-lang] patch for rune script plus carping about infrastructure

I tried to submit this via the patch manager [1], but it said "Error: no 
group_id was chosen.".   It's too bad the E developer web site isn't hosted on 
sf.net, because it is were then I would already be familiar with it and know 
which things were broken.  But anyway, here is a tiny patch needed to get "rune" 
to give me an interactive prompt on Linux.  They are against the v0.8.20u 
distribution.  (Too bad I don't have CVS access...)

Fix rune script so that when invoked with no args it defaults to "--interact.e" 
instead of "--interact" 

Regards, 

Zooko 

--- rune-template.txt   2002-11-12 20:48:15.000000000 -0500
+++ rune        2002-11-12 21:06:33.000000000 -0500 
@@ -177,9 +176,9 @@
 }
 
 
-# The name of the script defaults to "--interact"
+# The name of the script defaults to "--interact.e" 
 
-ESCRIPT=--interact
+ESCRIPT=--interact.e 
 
 EXECFLAG=exec 
 
@@ -230,14 +229,17 @@
     esac 
 done
 
+# echo "ESCRIPT==${ESCRIPT}"
 CMD=("${JCMD}" -cp "${EPATH}" "${JOPTS[@]}" "-De.home=${EHOME}" \ 
     org.erights.e.elang.interp.Interp "${EOPTS[@]}" \
     "$ESCRIPT" "$@")
 
 if  [ $EXECFLAG = exec ]; then
+    # echo about to exec "${CMD[@]}"
     exec "${CMD[@]}"
 else
     for i in "${CMD[@]}"; do
+        # echo about to echo $i
         echo $i
     done
 fi


_______________________________________________
e-lang mailing list
e-lang@mail.eros-os.org
http://www.eros-os.org/mailman/listinfo/e-lang