summaryrefslogtreecommitdiff
path: root/bin/ct
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-26 14:43:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-26 14:43:23 +0200
commitebb65d59c03b6b6ed3a4ed40a74fcc854515f510 (patch)
treee35203270708af6e1eccafce8508b90115e2d2eb /bin/ct
parent9be56f702ba679fe0ad9fd8193bc8aa7b526a716 (diff)
ct: normalize output
Diffstat (limited to 'bin/ct')
-rwxr-xr-xbin/ct16
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/ct b/bin/ct
index b63a3fd..8857f37 100755
--- a/bin/ct
+++ b/bin/ct
@@ -436,7 +436,7 @@ function collect_into_directory {
typeset directory=${1}
shift
- info "collecting into $directory: $*\n"
+ info "collecting into ${directory}: ${*}\n"
rm -rf ${directory}
mkdir -p ${directory}
@@ -478,7 +478,7 @@ function global_hook {
triggers+=${1}
check_prereqs ${1}
if [[ -r Makefile ]] {
- info "${1}: Running make\n"
+ info "${1}: running make\n"
make
}
run_checklinks
@@ -611,7 +611,7 @@ function update_collected {
return
}
- info "${1}: Processing documentation and binaries\n"
+ info "${1}: processing documentation and binaries\n"
for man in man/*/*(N); {
section=${man:h:t}
@@ -670,7 +670,7 @@ function genocide_collected {
return
}
- info "${1}: Removing documentation and binaries\n"
+ info "${1}: removing documentation and binaries\n"
for man in man/*/*(N); {
section=${man:h:t}
@@ -760,7 +760,7 @@ function pkg_add {
die "Package '${1}' is already installed!\n"
}
- info "${1}: Retrieving package\n"
+ info "${1}: retrieving package\n"
vcs_add ${1} || return 255
global_hook ${1} post-add
}
@@ -944,7 +944,7 @@ function pkg_push {
if list_incoming ${1}; then
clear_line
- info "Pushing ${1}\n"
+ info "${1}: pushing\n"
if (( HOOK_ON_PUSH == 1 )) {
global_hook ${1} pre-update
@@ -978,7 +978,7 @@ function pkg_remove {
global_hook ${1} pre-remove
rm -rf ${PKG_DIR}/${1}
- info "${1}: Package removed\n"
+ info "${1} removed\n"
}
function pkg_status {
@@ -1025,7 +1025,7 @@ function pkg_upgrade {
if list_incoming ${1}; then
clear_line
- info "Updating ${1} to $(list_get_version_remote ${1})\n"
+ info "${1}: updating to $(list_get_version_remote ${1})\n"
global_hook ${1} pre-update
vcs_pull ${1}
global_hook ${1} post-update