blob: 4d3f05c7bc5415b06c71d4a9144abf077c51348e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$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
|