r3035 - jhalfs/branches/experimental/BLFS

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Mon Aug 21 20:17:21 PDT 2006


Author: georgeb
Date: 2006-08-21 21:17:21 -0600 (Mon, 21 Aug 2006)
New Revision: 3035

Modified:
   jhalfs/branches/experimental/BLFS/gen_pkg_book.sh
Log:
Added error msg

Modified: jhalfs/branches/experimental/BLFS/gen_pkg_book.sh
===================================================================
--- jhalfs/branches/experimental/BLFS/gen_pkg_book.sh	2006-08-22 01:06:59 UTC (rev 3034)
+++ jhalfs/branches/experimental/BLFS/gen_pkg_book.sh	2006-08-22 03:17:21 UTC (rev 3035)
@@ -51,6 +51,11 @@
     fi    
   fi
 done <$ConfigFile
+if [[ $optTARGET = "" ]]; then
+  echo -e "\n>>> NO TARGET SELECTED.. applicaton terminated"
+  echo -e "    Run <make> 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 VERBOSITY=1
 [[ -z $SUDO ]] && SUDO=y
 
-
 #---------------------
 # Constants
 source libs/constants.inc




More information about the alfs-log mailing list