From 16bc0913e3890eb104c17c12b2da8a4eb00b9bc0 Mon Sep 17 00:00:00 2001
From: Fabien Benetou <fabien@benetou.fr>
Date: Wed, 20 Jul 2011 13:27:20 +0200
Subject: [PATCH] fixed path

---
 shell_scripts/pmwiki_recipes_info_listing | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shell_scripts/pmwiki_recipes_info_listing b/shell_scripts/pmwiki_recipes_info_listing
index 0ae05bc..cfa94fb 100755
--- a/shell_scripts/pmwiki_recipes_info_listing
+++ b/shell_scripts/pmwiki_recipes_info_listing
@@ -12,6 +12,7 @@
 #	add a hook (locally and/or remotely) to generate this after each commit
 #		directly generate and overwrite a PmWiki file in the right location rather than rely on import
 #			echo -e -n 'version=urlencoded=1\ntext=' > ~/www/devpim/wiki.d/Recipes.RecipesTest && ../shell_scripts/pmwiki_recipes_info_listing | sed "s/%/%25/g" | sed -e '{:q;N;s/\n/%0a/g;t q}' >> ~/www/devpim/wiki.d/Recipes.RecipesTest
+#		warning, this work only for bare repositories
 
 WIKIPAGENAME=Recipes
 RECIPESPATH=/home/fabien/repository/pmwiki_recipes
@@ -32,7 +33,7 @@ do
 	echo -n '!';
 	echo "[[#$SCRIPT]][[$REPOSITORYURL/$SCRIPT|$SCRIPT]]";
 	grep RecipeInfo $SCRIPT | sed "s/.*= '\(.*\)';.*/* version (or date) \1/" ;
-	grep HandleAction $SCRIPT | sed "s/.*], '\(.*\)');.*/* action [[Path:?action=\1]]/" ;
+	grep HandleAction $SCRIPT | sed "s/.*], '\(.*\)');.*/* action [[Path.:?action=\1]]/" ;
 	grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [@(:\1:)@]/" ;
 	echo "* functions";
 	for FUNCTION in `grep ^function $SCRIPT | sed "s/^function \(.*\)(.*/\1/"`