summaryrefslogtreecommitdiff
path: root/src/aif.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-02-15 12:42:31 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-02-15 12:42:31 +0100
commit100d2038e4d272b7a084d55183b1b73360358248 (patch)
tree94e14c34f5cdd47fb40fd0ca2ee707011740e994 /src/aif.sh
parent28b9e27ea026623a97f91b21ab495117040be9c5 (diff)
fix for display of user procedures
Diffstat (limited to 'src/aif.sh')
-rwxr-xr-xsrc/aif.sh4
1 files changed, 2 insertions, 2 deletions
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 '<modulename>/' it will be loaded from user module <modulename>.\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"