Permalink
Browse files

Don't replace project listing until we have a new one.

  • Loading branch information...
1 parent 7a1e11d commit 755a2542bcd65cbfce78c126b943ee01e3385a92 Git User committed Jan 20, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 update-project-list
View
@@ -6,4 +6,5 @@ export HTTP_ACCEPT="*/*"
export REQUEST_METHOD="GET"
export QUERY_STRING="a=project_index"
-perl -- /usr/lib/cgi-bin/gitweb.cgi > ~/repos/projects.txt
+perl -- /usr/lib/cgi-bin/gitweb.cgi > ~/repos/projects.txt.new
+mv -f ~/repos/projects.txt.new ~/repos/projects.txt

0 comments on commit 755a254

Please sign in to comment.