summaryrefslogtreecommitdiff
blob: 82bf35891228d06f83081bf2cbce2a35a41bd034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/prll.sh b/prll.sh
index 2ed4c04..bcf1525 100644
--- a/prll.sh
+++ b/prll.sh
@@ -25,13 +25,13 @@ function prll() {
 	EOF
 	return 1
     fi
-    /usr/bin/which prll_jobserver > /dev/null
+    @GENTOO_PORTAGE_EPREFIX@/usr/bin/which prll_jobserver > /dev/null
     if [[ $? -ne 0 ]] ; then
 	echo "PRLL: Missing prll_jobserver." 1>&2
 	return 1
     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