From dd45551e4bf64ba472976b60986b9273449aae70 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 8 Dec 2017 05:05:37 +0100 Subject: building search index from js --- search/bin/build-index | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'search/bin/build-index') diff --git a/search/bin/build-index b/search/bin/build-index index 02866d1..b7fa2fc 100755 --- a/search/bin/build-index +++ b/search/bin/build-index @@ -50,10 +50,10 @@ my $file = $bucky->index_filename; print_timer($timer, "Dumped $file"); -system("/bin/mv", "search.db", "search.db.1"); -system("/bin/mv", "$file", "search.db"); -print "OLD: " ; system("/bin/ls", "-l", "./search.db.1"); -print "NEW: " ; system("/bin/ls", "-l", "./search.db"); +system("/bin/mv", "./search/db/search.db", "./search/db/search.db.1"); +system("/bin/mv", "$file", "./search/db/search.db"); +print "OLD: " ; system("/bin/ls", "-l", "./search/db/search.db.1"); +print "NEW: " ; system("/bin/ls", "-l", "./search/db/search.db"); # system("/usr/bin/perl", "./build-autocomplete"); exit; -- cgit v1.2.3-70-g09d2