mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
24 lines
682 B
Plaintext
24 lines
682 B
Plaintext
$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
|