diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-04-17 15:02:10 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-04-17 15:16:28 -0700 |
commit | c00dc0165d9730b64ae1de42da0bae29c87ee175 (patch) | |
tree | 79a7a04f2c79d90e7426a48b867a9d216a1786e9 /genbootstrap.sh | |
parent | 8b5f4cf211ff980f796058bef0ec1696e894b033 (diff) | |
download | mc-c00dc0165d9730b64ae1de42da0bae29c87ee175.tar.gz |
Work around OSX sed differences.
It doesnt expand \n the way Linux sed does.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-x | genbootstrap.sh | 2 |
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 |