From cc8a3c14a1b6b23837c98feee4993e328ca4369c Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Wed, 20 Jul 2011 16:08:16 +0200 Subject: [PATCH] avoid self-reference --- shell_scripts/pmwiki_recipes_info_listing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_scripts/pmwiki_recipes_info_listing b/shell_scripts/pmwiki_recipes_info_listing index ed19957..90e2321 100755 --- a/shell_scripts/pmwiki_recipes_info_listing +++ b/shell_scripts/pmwiki_recipes_info_listing @@ -34,7 +34,7 @@ do echo "[[#$SCRIPT]][[$REPOSITORYURL/$SCRIPT|$SCRIPT]]"; grep RecipeInfo $SCRIPT | sed "s/.*= '\(.*\)';.*/* version (or date) \1/" ; grep HandleAction $SCRIPT | sed "s/.*], '\(.*\)');.*/* action [[Path:.?action=\1]]/" ; - grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [[Path:?action=search\&q=%3A\1|[@(:\1:)@]]](:pagelist :\1 fmt=#simple:)/" ; + grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [[Path:?action=search\&q=%3A\1|[@(:\1:)@]]](:pagelist :\1 page=-$WIKIPAGENAME fmt=#simple:)/" ; echo "* functions"; for FUNCTION in `grep ^function $SCRIPT | sed "s/^function \(.*\)(.*/\1/"` do