2013-09-26 17:14:40 +02:00

24 lines
648 B
Plaintext

$NetBSD: patch-ad,v 1.3 2005/08/27 22:24:02 recht Exp $
--- gnats/mkcat.sh.orig 2001-07-30 20:42:04.000000000 +0200
+++ gnats/mkcat.sh
@@ -36,7 +36,8 @@ while [ $# -gt 0 ]; do
done
-GNATS_DB_DIR="`query-pr --print-directory-for-database`"
+QUERY_PR="xBINDIRx/query-pr"
+GNATS_DB_DIR="`$QUERY_PR --print-directory-for-database`"
# verify gnats root
if [ ! -d ${GNATS_DB_DIR} ] ; then
@@ -44,7 +45,7 @@ if [ ! -d ${GNATS_DB_DIR} ] ; then
exit 1
fi
-query-pr --list-categories | awk -F: '{print $1}' | while read i
+$QUERY_PR --list-categories | awk -F: '{print $1}' | while read i
do
if test -d "$GNATS_DB_DIR/$i"; then
true