From 26906e0f8ff2dcac615c4d65d00bdbecac961691 Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Tue, 22 Aug 2006 03:17:21 +0000 Subject: [PATCH] Added error msg --- BLFS/gen_pkg_book.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BLFS/gen_pkg_book.sh b/BLFS/gen_pkg_book.sh index 6858fbf..40d8d5d 100755 --- a/BLFS/gen_pkg_book.sh +++ b/BLFS/gen_pkg_book.sh @@ -51,6 +51,11 @@ while [ 0 ]; do fi fi done <$ConfigFile +if [[ $optTARGET = "" ]]; then + echo -e "\n>>> NO TARGET SELECTED.. applicaton terminated" + echo -e " Run again and select a package to build\n" + exit 0 +fi # # Regenerate the META-package dependencies from the configuration file @@ -87,7 +92,6 @@ declare BLFS_XML declare VERBOSITY=1 [[ -z $SUDO ]] && SUDO=y - #--------------------- # Constants source libs/constants.inc