13 lines
474 B
Text
13 lines
474 B
Text
$NetBSD: patch-aa,v 1.2 2003/07/02 18:28:43 jmmv Exp $
|
|
|
|
--- xnap.sh.in.orig 2002-03-09 01:22:14.000000000 +0100
|
|
+++ xnap.sh.in
|
|
@@ -6,6 +6,8 @@ if [ -f "${APP}" ]; then
|
|
APPHOME="."
|
|
elif [ -f "`dirname "$0"`/${APP}" ]; then
|
|
APPHOME="`dirname "$0"`"
|
|
+elif [ "`dirname $0`" = "@PREFIX@/bin" ]; then
|
|
+ APPHOME="@PREFIX@/share/xnap/"
|
|
elif [ "`dirname $0`" = "/usr/local/bin" ]; then
|
|
APPHOME="/usr/local/share/xnap/"
|
|
elif [ "`dirname $0`" = "/usr/bin" ]; then
|