dist/publish: fix export of of usr tree

This commit is contained in:
Russ Cox 2017-09-01 13:25:02 -04:00
parent a399388593
commit cf4b9eefb3

2
dist/publish vendored
View file

@ -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
}