$FreeBSD: ports/lang/kawa/files/patch-bin_kawapath.c,v 1.1 2005/11/23 14:24:17 vs Exp $

--- bin/kawapath.c.orig
+++ bin/kawapath.c
@@ -15,8 +15,8 @@
   const char *path = getenv("KAWALIB");
   if (path == NULL)
     {
-      path = kawalib;
       const char *rp = progname == NULL ? NULL : strrchr(progname, '/');
+      path = kawalib;
       if (rp != NULL)
 	{
 	  /* If kawa is executed "in place" as $builddir/bin/kawa


syntax highlighted by Code2HTML, v. 0.9.1