shithub: mc

Download patch

ref: c00dc0165d9730b64ae1de42da0bae29c87ee175
parent: 8b5f4cf211ff980f796058bef0ec1696e894b033
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Apr 17 11:02:10 EDT 2015

Work around OSX sed differences.

    It doesnt expand \n the way Linux sed does.

--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -17,7 +17,7 @@
     sed "s:Leaving directory.*:\tcd \$pwd:g" | \
     sed "s:\\([a-zA-Z0-9_-]*\\)+.*:\`\$pwd/sysselect.sh \1\`:" | \
     grep $'^\t' | \
-    sed 's/.*/echo &\n&/' | \
+    sed $'s/.*/echo &\\\n&/' | \
     tee -a bootstrap.sh 
 chmod +x bootstrap.sh
 rm ./xmbld