diff options
author | Mark Ferrell <major@homeonderanged.org> | 2014-04-09 11:00:06 -0700 |
---|---|---|
committer | Mark Ferrell <major@homeonderanged.org> | 2014-04-09 11:00:06 -0700 |
commit | e1d0f916c18826922d8f15127e7135f40a0eea7f (patch) | |
tree | b06876f4c8f575822b8bab245e35794b97d3ae29 | |
parent | 1113a4fe18ad61d9bfb5b68163750ca89bc3b0e7 (diff) |
Remove 'make-' prefixes from make subcmds
* Generally all of the make-* prefixed commands are expected to be called from
the cmdline w/out the make- prefix. Calling them w/ the make-* prefix is
reserved for build-make.
-rwxr-xr-x | libexec/build-help | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/build-help b/libexec/build-help index 8bce924..0392461 100755 --- a/libexec/build-help +++ b/libexec/build-help @@ -14,7 +14,8 @@ build_commands() echo "available builder commands from '${BUILDER_LIBDIR}':" for cmd in $(cd "${BUILDER_LIBDIR}" && echo build-*); do test -e "${BUILDER_LIBDIR}/${cmd}" || continue - BUILDER_COMMANDS="${BUILDER_COMMANDS} ${cmd#build-}" + cmd="${cmd#build-}" + BUILDER_COMMANDS="${BUILDER_COMMANDS} ${cmd#make-}" length="$(echo "${cmd#build-}"|wc -c)" if test "${length}" -gt "${BUILDER_CMD_WIDTH}"; then |