diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-15 12:42:31 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-15 12:42:31 +0100 |
commit | 100d2038e4d272b7a084d55183b1b73360358248 (patch) | |
tree | 94e14c34f5cdd47fb40fd0ca2ee707011740e994 /src | |
parent | 28b9e27ea026623a97f91b21ab495117040be9c5 (diff) |
fix for display of user procedures
Diffstat (limited to 'src')
-rwxr-xr-x | src/aif.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |