summaryrefslogtreecommitdiff
path: root/user/redis/posix-runtest.patch
blob: 84d76ad100f881a64da8b0dff3fc3215da6f8f20 (plain) (blame)
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
31
32
33
--- redis-4.0.2/runtest.old	2017-09-21 09:12:52.000000000 -0500
+++ redis-4.0.2/runtest	2017-12-31 05:50:13.037119127 -0600
@@ -3,7 +3,7 @@
 TCLSH=""
 
 for VERSION in $TCL_VERSIONS; do
-	TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
+	TCL=`command -v tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
 done
 
 if [ -z $TCLSH ]
--- redis-4.0.2/runtest-cluster.old	2017-09-21 09:12:52.000000000 -0500
+++ redis-4.0.2/runtest-cluster	2017-12-31 05:50:20.517111722 -0600
@@ -3,7 +3,7 @@
 TCLSH=""
 
 for VERSION in $TCL_VERSIONS; do
-	TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
+	TCL=`command -v tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
 done
 
 if [ -z $TCLSH ]
--- redis-4.0.2/runtest-sentinel.old	2017-09-21 09:12:52.000000000 -0500
+++ redis-4.0.2/runtest-sentinel	2017-12-31 05:50:26.877105425 -0600
@@ -3,7 +3,7 @@
 TCLSH=""
 
 for VERSION in $TCL_VERSIONS; do
-	TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
+	TCL=`command -v tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
 done
 
 if [ -z $TCLSH ]