Skip to content

Commit 0b9f8ec

Browse files
committed
More error agnostic logging
1 parent 56b73eb commit 0b9f8ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

run/fill-db

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,14 @@ done < "$ttl_list_file" 2>&1 \
273273
echo
274274
if [ -e "$db_dir" ]
275275
then
276+
echo "Moving the current DB to the backup location '$db_bak_dir' ..."
276277
rm -Rf "$db_bak_dir"
277278
mv "$db_dir" "$db_bak_dir"
278-
echo "The old DB is now at '$db_bak_dir'."
279+
echo "Moving the current DB to the backup location '$db_bak_dir' - done."
279280
fi
281+
echo "Moving the new/temporary DB to the active location at '$db_dir' ..."
280282
mv "$db_tmp_dir" "$db_dir"
281-
echo "done. (Setting up the DB)"
283+
echo "Moving the new/temporary DB to the active location at '$db_dir' - done."
282284

283285
echo
284286
echo "Ready to run SPARQL queries!"

0 commit comments

Comments
 (0)