mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-14 06:45:30 -04:00
22 lines
446 B
Plaintext
22 lines
446 B
Plaintext
$NetBSD: patch-ai,v 1.3 2015/04/03 17:50:27 rodent Exp $
|
|
|
|
--- plugins-scripts/subst.in.orig 2014-03-04 21:41:57.000000000 +0000
|
|
+++ plugins-scripts/subst.in
|
|
@@ -9,13 +9,14 @@ function which(c,path) {
|
|
|
|
sub(/\/.*\//,"",c);
|
|
for (dir in path) {
|
|
+ if (match(path[dir], /.tools/ ) != 0 ) {
|
|
+ continue;
|
|
+ }
|
|
cmd = "test -x " path[dir] "/" c;
|
|
if (system(cmd)==0) {
|
|
return path[dir] "/" c;
|
|
}
|
|
}
|
|
-
|
|
-
|
|
return c;
|
|
}
|
|
|