Hi,

here's a patch to ketchup to create the target dir (-d) if it doesn't exist already. It would be nice to see it in the next version (this is reported by me as debian bug #339357).

And while I'm at it, ketchup also doesn't seem to cope with recent 2.6.x.y kernels (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339374).

Regards,
David Härdeman
[EMAIL PROTECTED]

--- ketchup.orig        2005-11-17 22:35:02.000000000 +0100
+++ ketchup     2005-11-17 22:37:14.000000000 +0100
@@ -671,6 +671,9 @@
 
 # Process args
 
+if not os.path.exists(options["directory"]):
+    qprint("Creating target directory", options["directory"])
+    os.mkdir(options["directory"])
 os.chdir(options["directory"])
 
 if os.path.isfile(".ketchuprc"):

Reply via email to