summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-03-11 16:09:59 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:07 +0200
commit271d4f4a3c0026f0ad04d579fa579679de81daef (patch)
tree796276e228face400f2d9a54c47b4ffc63031df9 /bin
parentd16923e6b9dfe25c4b306e8bf1d1db11c46632e2 (diff)
downloadvyos-live-build-271d4f4a3c0026f0ad04d579fa579679de81daef.tar.gz
vyos-live-build-271d4f4a3c0026f0ad04d579fa579679de81daef.zip
Simplyfing live-build pseudo-command.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/live-build15
1 files 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