summaryrefslogtreecommitdiff
path: root/devel/concurrencykit/files/patch-configure
blob: e2af4ba7495ce80ee6fa83f3f36fb20ae66a23e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.orig	2018-07-15 19:01:39 UTC
+++ configure
@@ -512,6 +512,10 @@ pathsearch()
 	what=$1
 	oldFS="$IFS"
 	IFS=":"
+	if test -x "$what" ; then
+		echo "$what";
+		return
+	fi
 	for d in $PATH ; do
 		if test -x "$d/$what" ; then
 			echo "$d/$what";