summaryrefslogblamecommitdiff
path: root/harmony/redis/posix-runtest.patch
blob: 84d76ad100f881a64da8b0dff3fc3215da6f8f20 (plain) (tree)
































                                                                           
--- 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 ]