## update index ##
-if (($opt{i} || $opt{j} || ($index_path && ! -e $index_path)) && !$opt{c}) {
+if (($opt{i} || $opt{j} || ($index_path && ! -e $TopDir . $index_path)) && !$opt{c}) {
# update all
print "force update of HyperEstraier index ";
- print "importing existing data" unless (-e $index_path);
+ print "importing existing data" unless (-e $TopDir . $index_path);
print "by -i flag" if ($opt{i});
print "by -j flag" if ($opt{j});
print "\n";