jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Bug in site.sl with jed-script


Hi John,

#v+
% jed-script foo.sl
Expecting Null_Type, found String_Type
/usr/share/jed/lib/site.sl:3256:<top-level>:Type Mismatch
zsh: exit 8     jed-script foo.sl
% cat foo.sl
message("I was here");
#v-

#v+
--- /home/joerg/svn/jed-upstream/lib/site.sl    2006-05-20 22:17:01.000000000 +0200
+++ /usr/share/jed/lib/site.sl  2006-05-23 12:49:08.000000000 +0200
@@ -3239,6 +3238,8 @@
        Jed_Install_Prefix = get_executable_path (__argv[0]);
        if (NULL != Jed_Install_Prefix)
          Jed_Install_Prefix = path_dirname (Jed_Install_Prefix);
+         else
+           Jed_Install_Prefix = "/usr/";
      }
    return Jed_Install_Prefix;
 }
#v-

This is more a hack. Why you do not use JED_ROOT? Any you search stuff of
the slang library, right? Why it should not be in
_slang_install_prefix/share/slsh/local-packages?

Bye, Jörg.
-- 
Wer eher stirbt ist länger tot.
    	 	    	       			(Un B. Kant)

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]