plan9: mkfile and 9diff fixes
This patch deals with an unnecessary backslash in 9diff and improper
quoting in the contrib mkfile.
--- 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/