aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2014-04-09 11:00:06 -0700
committerMark Ferrell <major@homeonderanged.org>2014-04-09 11:00:06 -0700
commite1d0f916c18826922d8f15127e7135f40a0eea7f (patch)
treeb06876f4c8f575822b8bab245e35794b97d3ae29
parent1113a4fe18ad61d9bfb5b68163750ca89bc3b0e7 (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-xlibexec/build-help3
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