summaryrefslogtreecommitdiff
blob: dcf2314fb5d0d065f95ae11758d3ce924f068021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/prll.sh b/prll.sh
index 45a4fa4..f3ec39f 100644
--- a/prll.sh
+++ b/prll.sh
@@ -41,7 +41,7 @@ function prll() {
 	EOF
 	[[ -z "$1" ]] && return 1 || return 0
     fi
-    /usr/bin/which prll_qer > /dev/null
+    @GENTOO_PORTAGE_EPREFIX@/usr/bin/which prll_qer > /dev/null
     if [[ $? -ne 0 ]] ; then
 	echo "PRLL: Missing prll_qer." 1>&2
 	return 1
@@ -51,14 +51,14 @@ function prll() {
 	local prll_unbuffer=yes
 	shift
     else
-	/usr/bin/which prll_bfr > /dev/null
+	@GENTOO_PORTAGE_EPREFIX@/usr/bin/which prll_bfr > /dev/null
 	if [[ $? -ne 0 ]] ; then
 	    echo "PRLL: Missing prll_bfr." 1>&2
 	    return 1
 	fi
     fi
     if [[ -z $PRLL_NR_CPUS ]] ; then
-	/usr/bin/which grep > /dev/null
+	@GENTOO_PORTAGE_EPREFIX@/usr/bin/which grep > /dev/null
 	if [[ $? -ne 0 || ! -a /proc/cpuinfo ]] ; then
 	    echo "PRLL: Environment variable PRLL_NR_CPUS is not set" 1>&2
 	    echo "PRLL: and either the grep utility is missing or" 1>&2