GNUmp3D

From The World according to Vissie
Jump to navigation Jump to search
  1. Strip directories for movies aswell (http://ubuntuforums.org/showthread.php?t=518838)
$file =~ s/^$ROOT\/(.*\/)*//;

-----------------
Fix Details
-----------------
http://bugs.debian.org/cgi-bin/bugre...ies.diff;att=1

diff -ruN orig/gnump3d-2.9.9.9/bin/gnump3d2 gnump3d-2.9.9.9/bin/gnump3d2
--- orig/gnump3d-2.9.9.9/bin/gnump3d2 2006-11-09 13:08:32.000000000 +0100
+++ gnump3d-2.9.9.9/bin/gnump3d2 2006-11-09 13:09:24.000000000 +0100
@@ -2554,6 +2554,9 @@
{
next if ( not $FILE_TYPES->isMovie( $file ) );

+ # Strip directories for movies aswell
+ $file =~ s/^$ROOT\/(.*\/)*//;
+
# Increase count.
$totalMovies += 1;