shithub: mc

Download patch

ref: bedcec2e2cb62540375ebec97adbb725e28fb791
parent: 4bbf79843d318582ae08b2e2d656a0dd1217fe42
author: Ori Bernstein <[email protected]>
date: Fri May 1 10:24:51 EDT 2015

Exit after we find a system match.

--- a/sysselect.sh
+++ b/sysselect.sh
@@ -33,6 +33,7 @@
 		if test -f $1+$platform.$suffix; then
 			found=true
 			echo $1+$platform.$suffix
+			exit
 		fi
 	done
 	if test "x$found" = "x"; then
@@ -39,6 +40,7 @@
 		if test -f $1.$suffix; then
 			found=true
 			echo $1.$suffix
+			exit
 		fi
 	fi
 done