From 100d2038e4d272b7a084d55183b1b73360358248 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 15 Feb 2009 12:42:31 +0100 Subject: fix for display of user procedures --- src/aif.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/aif.sh b/src/aif.sh index 00f71e4..beaf30c 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -25,8 +25,8 @@ If the procedurename starts with 'http://' it will be wget'ed. Otherwise it's a If the procedurename is prefixed with '/' it will be loaded from user module .\n For more info, see the README which you can find in /usr/share/aif/docs\n Available procedures: -`find $LIB_CORE/procedures -type f | sed \"s#$LIB_CORE##\"`\n -`find $LIB_USER/*/procedures -type f 2>/dev/null | sed \"s#$LIB_USER##\"`" +`find $LIB_CORE/procedures -type f | sed \"s#$LIB_CORE/procedures/##\"`\n +`find $LIB_USER/*/procedures -type f 2>/dev/null | sed \"s#$LIB_USER/\(.*\)/procedures/#\1/#\"`" [ -n "$procedure" ] && msg="$msg\nProcedure ($procedure) specific options:\n$var_ARGS_USAGE" echo -e "$msg" -- cgit v1.2.3-54-g00ecf