Mercurial > hg
changeset 16556:f9262456fb01 stable
plan9: mkfile and 9diff fixes
This patch deals with an unnecessary backslash in 9diff and improper
quoting in the contrib mkfile.
author | Steven Stallion <sstallion@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 23:01:31 -0700 |
parents | 4955e7bf085c |
children | 9dba55369cd8 |
files | contrib/plan9/9diff contrib/plan9/mkfile |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/plan9/9diff Mon Apr 30 17:05:19 2012 +0200 +++ b/contrib/plan9/9diff Sat Apr 28 23:01:31 2012 -0700 @@ -3,13 +3,13 @@ rfork e -fn getfiles{ - cd $1 && \ +fn getfiles { + cd $1 && for(f in `{du -as | awk '{print $2}'}) test -f $f && echo `{cleanname $f} } -fn usage{ +fn usage { echo >[1=2] usage: 9diff [diff options] parent child root exit usage }
--- a/contrib/plan9/mkfile Mon Apr 30 17:05:19 2012 +0200 +++ b/contrib/plan9/mkfile Sat Apr 28 23:01:31 2012 -0700 @@ -29,9 +29,9 @@ cd $ROOT $SH -c '$PYTHON setup.py $PURE install \ --install-scripts $PYTHONBIN \ - --skip-build' \ - --force + --skip-build \ + --force' } mkdir -p /lib/mercurial/hgrc.d - dircp hgrc.d /lib/mercurial/hgrc.d - cp 9diff /rc/bin + dircp hgrc.d /lib/mercurial/hgrc.d/ + cp 9diff /rc/bin/