shithub: mc

Download patch

ref: 0cf1870f4b5a8a547ce1334e6e83cc0275b94774
parent: c89a9ad95390793148fd416451ae1d8ebf1d6ae1
author: Ori Bernstein <ori@markovcorp.com>
date: Thu Oct 5 14:20:47 EDT 2017

More portable, or so I'm told.

--- a/mbldwrap.sh
+++ b/mbldwrap.sh
@@ -18,7 +18,7 @@
 elif [ -f mbld/mbld ]; then
 	MBLD=mbld/mbld
 else
-	MBLD=`which mbld`
+	MBLD=$(command -v mbld)
 fi
 
 if [ -z "$MBLD" ]; then