From 56f60d44b73e66f438ca4338d7ff902126fe8600 Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Wed, 16 Nov 2011 14:07:55 +0000 Subject: [PATCH] clean up before re-creating user index --- create.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/create.cgi b/create.cgi index 587a520..81596a3 100755 --- a/create.cgi +++ b/create.cgi @@ -81,7 +81,7 @@ else fi -cd $oldpwd; ./users.sh > users.shtml - -# Clean up in case it went wrong (trying to retrieve from an account with protected tweets) +# Clean up in case it went wrong (e.g. trying to retrieve from an account with protected tweets) test -s $oldpwd/u/$id/$id.txt || rm -rf $oldpwd/u/$id + +cd $oldpwd; ./users.sh > users.shtml