commit cf4b9eefb30c5fc1cfe246f4c5cafc11d0be793c
parent a39938859387987d5aac6201600154a68fad7c40
Author: Russ Cox <rsc@swtch.com>
Date: Fri, 1 Sep 2017 13:25:02 -0400
dist/publish: fix export of of usr tree
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dist/publish b/dist/publish
@@ -23,7 +23,7 @@ cp ss.html $root/screenshots/index.html
rm -rf $root/../usr/local/plan9
mkdir -p $root/../usr/local/plan9
-git archive HEAD | @{cd $root/../usr/local/plan9 && u tar xf -}
+@{cd ..; git archive HEAD} | @{cd $root/../usr/local/plan9 && u tar xf -}
for(d in `{find $root/../usr/local/plan9 -type d}) {
9 rc ./mkdirlist $d `{echo $d | sed 's;.*/usr;/usr;'} >t1 && mv t1 $d/index.html
}