97ecb975c6
Approved by: maintainer via barner@
16 lines
349 B
C
16 lines
349 B
C
|
|
$FreeBSD$
|
|
|
|
--- 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
|