$NetBSD$

--- src/cvscontrol.cpp.orig	2005-07-25 22:14:36.000000000 +0200
+++ src/cvscontrol.cpp
@@ -2168,7 +2168,7 @@ void CvsControl::callInteractiveCmd( QSt
 #ifdef Q_WS_WIN
       command += "export CVS_RSH=" + cvsRsh + " && ";
 #else
-      QString rsh = APPDIR + "/" + LC_TOOLS_DIR + "/rshwrapper";
+      QString rsh = "%%PREFIX%%/libexec/rshwrapper";
       if (!QFileInfo(rsh).exists()) {
 	 showWarning( tr("Warning"), tr("can't access rshwrapper: "+rsh+": file not found") );
 	 cvsCallFailed(icmd,instance);
