mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
dist/publish: fix export of of usr tree
This commit is contained in:
parent
a399388593
commit
cf4b9eefb3
1 changed files with 1 additions and 1 deletions
2
dist/publish
vendored
2
dist/publish
vendored
|
@ -23,7 +23,7 @@ cp ss.html $root/screenshots/index.html
|
||||||
|
|
||||||
rm -rf $root/../usr/local/plan9
|
rm -rf $root/../usr/local/plan9
|
||||||
mkdir -p $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}) {
|
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
|
9 rc ./mkdirlist $d `{echo $d | sed 's;.*/usr;/usr;'} >t1 && mv t1 $d/index.html
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue