plan9: mkfile and 9diff fixes stable
authorSteven Stallion <sstallion@gmail.com>
Sat, 28 Apr 2012 23:01:31 -0700
branchstable
changeset 16556 f9262456fb01
parent 16555 4955e7bf085c
child 16557 9dba55369cd8
plan9: mkfile and 9diff fixes This patch deals with an unnecessary backslash in 9diff and improper quoting in the contrib mkfile.
contrib/plan9/9diff
contrib/plan9/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/