From 271d4f4a3c0026f0ad04d579fa579679de81daef Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 11 Mar 2013 16:09:59 +0100 Subject: [PATCH] Simplyfing live-build pseudo-command. --- bin/live-build | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/bin/live-build b/bin/live-build index 3bdc6510a..bdbd4c792 100755 --- a/bin/live-build +++ b/bin/live-build @@ -22,17 +22,16 @@ set -e -# Including common functions -[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh - if [ -x "$(which man 2>/dev/null)" ] then man live-build - exit 0 else - Echo "live-build contains the scripts that build a live system from a configuration directory." - echo - Echo "An introduction to live-build can be found in the live-build(7) manpage." - exit 0 +cat << EOF +live-build contains the scripts that build a live system from a configuration +directory. + +An introduction to live-build can be found in the live-build(7) manpage. +EOF + fi