Index: galrey-1.0.2/galrey.pl
===================================================================
--- galrey-1.0.2.orig/galrey.pl	2008-08-24 12:49:41.000000000 +0000
+++ galrey-1.0.2/galrey.pl	2008-08-24 12:58:24.000000000 +0000
@@ -140,7 +140,7 @@
 
     print "Analyzing...\n";
     
-    @files = glob($c_imagespath."/".$c_pattern);
+    @files = glob("'$c_imagespath'"."/".$c_pattern);
 
     # Let's check: all the files must have the same extension (same type)
     $error = 0;
