From 992d0aac09a3e3e81d7ad999910a4a026984f804 Mon Sep 17 00:00:00 2001
From: Amitai Schlair <schmonz@magnetic-babysitter.(none)>
Date: Sun, 30 Aug 2009 00:05:23 -0400
Subject: [PATCH] The string to match might not be "New directory" exactly, so
 match that substring instead.

---
 IkiWiki/Wrapper.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 2354717c3..87c2ffc89 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -50,7 +50,7 @@ EOF
 	{
 		int j;
 		for (j = 1; j < argc; j++)
-			if (strcmp(argv[j], "New directory") == 0)
+			if (strstr(argv[j], "New directory") != NULL)
 				exit(0);
 	}
 EOF
-- 
2.39.5