[Pkg-jed-commit] r77 - trunk/packages/jed/debian

Jörg Sommer jo-guest at costa.debian.org
Thu Sep 22 18:51:51 UTC 2005


Author: jo-guest
Date: 2005-09-22 18:51:51 +0000 (Thu, 22 Sep 2005)
New Revision: 77

Modified:
   trunk/packages/jed/debian/TODO
   trunk/packages/jed/debian/compile
   trunk/packages/jed/debian/jed-common.prerm
Log:
* jed-script do not use the jed_library_path to find the script file;
  fixed it by using an absolut path

* an empty RET variable caused an error in the jed-common.prerm script;
  fixed


Modified: trunk/packages/jed/debian/TODO
===================================================================
--- trunk/packages/jed/debian/TODO	2005-09-22 10:34:48 UTC (rev 76)
+++ trunk/packages/jed/debian/TODO	2005-09-22 18:51:51 UTC (rev 77)
@@ -3,3 +3,8 @@
   slang.
 * Design a Debian specific jed.rc file for doc/jed/examples/
   (or several ones).
+* find the bug: jed-script /tmp//test.sl
+  $ jed-script /tmp//test.sl
+  Unable to load /test.sl
+  $ jed-script /tmp/test.sl
+  foo

Modified: trunk/packages/jed/debian/compile
===================================================================
--- trunk/packages/jed/debian/compile	2005-09-22 10:34:48 UTC (rev 76)
+++ trunk/packages/jed/debian/compile	2005-09-22 18:51:51 UTC (rev 77)
@@ -1,7 +1,7 @@
 #!/bin/sh -e
 
-LIBDIR=/usr/share/jed/lib/
-PREPARSE=preparse.sl
+LIBDIR=/usr/share/jed/lib
+PREPARSE=$LIBDIR/preparse.sl
 
 case "$1" in
   install)

Modified: trunk/packages/jed/debian/jed-common.prerm
===================================================================
--- trunk/packages/jed/debian/jed-common.prerm	2005-09-22 10:34:48 UTC (rev 76)
+++ trunk/packages/jed/debian/jed-common.prerm	2005-09-22 18:51:51 UTC (rev 77)
@@ -6,6 +6,7 @@
 
 TEMP=$(tempfile)
 printf "Running /usr/share/jed/compile/jed-common..."
+RET=0
 /usr/share/jed/compile/jed-common remove >$TEMP 2>&1 || RET=$?
 if test "$RET" -ne 0 ; then
 	echo "failed (see $TEMP)"




More information about the Pkg-jed-commit mailing list