aboutsummaryrefslogtreecommitdiff
path: root/dist/publish
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2017-09-01 13:25:02 -0400
committerRuss Cox <rsc@swtch.com>2017-09-01 13:25:20 -0400
commitcf4b9eefb30c5fc1cfe246f4c5cafc11d0be793c (patch)
tree1184baceb796ce057ac030b71dba6cca80cdb1a2 /dist/publish
parenta39938859387987d5aac6201600154a68fad7c40 (diff)
downloadplan9port-cf4b9eefb30c5fc1cfe246f4c5cafc11d0be793c.tar.gz
plan9port-cf4b9eefb30c5fc1cfe246f4c5cafc11d0be793c.tar.bz2
plan9port-cf4b9eefb30c5fc1cfe246f4c5cafc11d0be793c.zip
dist/publish: fix export of of usr tree
Diffstat (limited to 'dist/publish')
-rwxr-xr-xdist/publish2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/publish b/dist/publish
index bfad7cae..a9b50b88 100755
--- 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
}