shithub: mc

Download patch

ref: 4ac1189b1022526ff74ed63a6dbbe97e012a7ad6
parent: 287851072697781133b34d2b1f721e4f7853d0bb
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jan 1 13:32:53 EST 2015

Respect 'opt_instroot' uniformly.

--- a/build.myr
+++ b/build.myr
@@ -321,7 +321,7 @@
 		;;
 		std.slfree(p)
 	;;
-	p = std.pathjoin([config.Instroot, "lib/myr", buf[:n]][:])
+	p = std.pathjoin([opt_instroot, "lib/myr", buf[:n]][:])
 	if std.fexists(p)
 		-> std.slput(cmd, head, p)
 	;;
--- a/opts.myr
+++ b/opts.myr
@@ -76,6 +76,6 @@
 	sysstr = std.fmt("+%s", opt_sys)
 	archstr = std.fmt("+%s", opt_arch)
 
-	opt_runtime = std.pathjoin([config.Instroot, "lib/myr", config.Runtime][:]) 
+	opt_runtime = std.pathjoin([opt_instroot, "lib/myr", config.Runtime][:]) 
 }