$NetBSD: patch-ae,v 1.3 2005/08/27 22:24:02 recht Exp $ --- gnats/rmcat.sh.orig 2001-07-30 20:42:04.000000000 +0200 +++ gnats/rmcat.sh @@ -25,7 +25,8 @@ if [ $# -eq 0 ]; then exit 1 fi -GNATS_DB_DIR="`query-pr --print-directory-for-database`" +QUERY_PR="xBINDIRx/query-pr" +GNATS_DB_DIR="`$QUERY_PR --print-directory-for-database`" if [ ! -d "$GNATS_DB_DIR" ] then @@ -34,7 +35,7 @@ then fi for i in "$@"; do - if query-pr --list-categories | grep "^${i}:" >/dev/null 2>&1; then + if $QUERY_PR --list-categories | grep "^${i}:" >/dev/null 2>&1; then echo "$prog: category \`$i' is still in the categories file, please remove it." continue fi