summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-04-17 15:02:10 -0700
committerOri Bernstein <ori@eigenstate.org>2015-04-17 15:16:28 -0700
commit8ba0a5494fb75032c475d7c8e2e1f3445738f055 (patch)
tree79a7a04f2c79d90e7426a48b867a9d216a1786e9 /genbootstrap.sh
parent941dfc70c3c42f8709da344e6cf8587a22f0fb54 (diff)
downloadmc-8ba0a5494fb75032c475d7c8e2e1f3445738f055.tar.gz
Work around OSX sed differences.
It doesnt expand \n the way Linux sed does.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-xgenbootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh
index 2b871c1..fafee06 100755
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -17,7 +17,7 @@ echo 'pwd=`pwd`' >> bootstrap.sh
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