wrapper for gatling
[bookman] / import.sh
index aec5ba1..1c8e1ad 100755 (executable)
--- a/import.sh
+++ b/import.sh
@@ -25,7 +25,9 @@ import="$1"
 order=1000
 BDB="users/$(genid)"
 
-mkdir -p "${BDB}/favicons"
+mkdir users/
+git init "${BDB}" || mkdir "${BDB}"
+mkdir "${BDB}/favicons"
 
 while read l; do
   case "$l" in