Index: myth.rebuilddatabase.pl
===================================================================
--- myth.rebuilddatabase.pl     (revision 9935)
+++ myth.rebuilddatabase.pl     (working copy)
@@ -380,7 +380,7 @@
         my $commflag = "mythcommflag --rebuild " .
             ($showBase =~ /[.]nuv$/ || ($showBase =~ /[.]mpg$/ && $ssecond)
              ? "--file" : "--video") .
-             " " . $mythfile;
+             " " . $dir . "/" . $mythfile;
         if (!$test_mode) {
             system($commflag);
             print "\n"; # cursor isn't always on a new line after commflagging
