[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#394370: patch



tags 394370 + patch
thanks

hi, 

attached patch fixes this issue.

bye,
    - michael
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;
 

Reply to: