mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 11:56:15 +02:00
Make schhist try harder to do seamless in-place updates.
- schhist/schhist2web: create index.html in a temporary file and rename it to index.html only at the end. This way, in-place updates work most of the time.
This commit is contained in:
parent
479fff14c9
commit
9816847760
@ -322,7 +322,8 @@ fi
|
||||
# --- Title of the Web page and table header ----------------------------------
|
||||
|
||||
|
||||
index="$out/index.html"
|
||||
index="$out/_index.html"
|
||||
index_final="$out/index.html"
|
||||
all=
|
||||
{
|
||||
cat <<EOF
|
||||
@ -469,3 +470,5 @@ cat <<EOF >>"$index"
|
||||
</BODY>
|
||||
</HTML>
|
||||
EOF
|
||||
|
||||
mv "$index" "$index_final"
|
||||
|
Loading…
Reference in New Issue
Block a user