Package: websvn

This might be being caused by a bigger problem, but at least it keeps
it a bit quieter!

Adrian
-- 
Email: adr...@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org
--- dl.php.orig	2009-06-30 13:51:50.000000000 +0100
+++ dl.php	2009-06-30 13:50:10.000000000 +0100
@@ -126,7 +126,9 @@
   // Set datetime of exported directory (and subdirectories) to datetime of revision so that every archive is equal
   $date = $logEntry->date;
   $ts = mktime(substr($date, 11, 2), substr($date, 14, 2), substr($date, 17, 2), substr($date, 5, 2), substr($date, 8, 2), substr($date, 0, 4));
-  setDirectoryTimestamp($tmpname.DIRECTORY_SEPARATOR.$arcname, $ts);
+  if (is_dir($tmpname.DIRECTORY_SEPARATOR.$arcname)) {
+    setDirectoryTimestamp($tmpname.DIRECTORY_SEPARATOR.$arcname, $ts);
+  }
 
   // change to temp directory so that only relative paths are stored in tar
   chdir($tmpname);

Reply via email to