commit fbe3f344c14d002316338a38d35f7227e94f2844 from: Russ Cox date: Tue Jun 03 18:29:06 2014 UTC build: rename " and "" to quote1 and quote2 for hg They'll be copied back during installation but then hg doesn't have to create those files on systems that have trouble with them. TBR=rsc https://codereview.appspot.com/105800043 commit - 50ababbd552abfa8ef3b16ccdaea54b58f5c031c commit + fbe3f344c14d002316338a38d35f7227e94f2844 blob - 5b86645c6641efa8405e8ce8b8b175699deb7c03 blob + f032f9dae2cfd9c16219b6626b0128f2c1cee305 --- INSTALL +++ INSTALL @@ -170,6 +170,10 @@ if $dobuild; then echo " " echo "* Warning: not all binaries built successfully." fi + if [ -f bin/quote1 ]; then + cp bin/quote1 'bin/"' + cp bin/quote2 'bin/""' + fi echo "* Cleaning up..." mk clean fi blob - e0f7c8f93b7c8b02619f7e23ac91f66593bbc30a (mode 755) blob + /dev/null --- bin/" +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/local/plan9/bin/rc - -. 9.rc - -fn text { - if(~ $winid [0-9]*) - 9p read acme/$winid/body - if not if(~ $text9term unix!*) - dial -e $text9term [1=2] - exit notfound -} - -echo ' ' $cmd >[1=2] -rc -c $"cmd blob - /dev/null blob + e0f7c8f93b7c8b02619f7e23ac91f66593bbc30a (mode 755) --- /dev/null +++ bin/quote1 @@ -0,0 +1,27 @@ +#!/usr/local/plan9/bin/rc + +. 9.rc + +fn text { + if(~ $winid [0-9]*) + 9p read acme/$winid/body + if not if(~ $text9term unix!*) + dial -e $text9term [1=2] + exit notfound +} + +echo ' ' $cmd >[1=2] +rc -c $"cmd