#
SCRIPTNAME="edksetup.sh"
+RECONFIG=FALSE
function HelpMsg()
{
echo "Options: "
echo " --help, -h, -? Print this help screen and exit."
echo
+ echo " --reconfig Overwrite the WORKSPACE/Conf/*.txt files with the"
+ echo " template files from the BaseTools/Conf directory."
+ echo
echo Please note: This script must be \'sourced\' so the environment can be changed.
echo ". $SCRIPTNAME"
echo "source $SCRIPTNAME"
# Ignore argument for backwards compatibility
shift
;;
+ --reconfig)
+ RECONFIG=TRUE
+ shift
+ ;;
-?|-h|--help|*)
HelpMsg
break
SourceEnv
+unset SCRIPTNAME RECONFIG
+
return $?