echo ""
echo "in $BASH_SOURCE"

# These lists are provided with the SAM application to make it easier
# for me, the author, to maintain the application.  Note that there are
# other variables defined in the SAM Go files (see $sam_go).  These
# (here) do not overlap those in the Go files.  Likewise the variables
# sam_distro, env_user, and env_config (all three are defined in some
# of the b- files in $env_config) are not defined here.

# Note that I indent to show dependency, and same levels of dependancy
# are indented the same amount.

# The first has locations based on variables that start with "sam_".

# The second has locations based on the variables env_user and
# env_config.  You will need to change the definitions of these
# variables in order to get the examples working.

# At the end of this script your private sam_env (if any) is sourced.



# sam_env

# Joseph Rosevear 190703 I changed

#    echo "in $0/sam_env"

# to

#    echo "in $BASH_SOURCE"



#######################################################################


# first list

# These locations are based on variables that start with "sam_"


###### sam_distro
export    env_tips=$sam_distro/tips

###### sam_temp_base
export    env_scratch=$sam_temp_base/scratch
export       env_web_try=$env_scratch/try

#######################################################################


# second list


# part a

# These locations are based on variable "env_user"

###### env_user                                                     
export    env_2003=$env_user/2003
export    env_2004=$env_user/2004
export    env_yearx=$env_user/yearx


# part b

# These locations are based on variable "env_config"

###### env_config
export    env_world=$env_config/world 
export       env_sam_plce=$env_world/sam_plce
export    env_bureau=$env_config/bureau
export       env_letter=$env_bureau/letter
export    env_public=$env_config/public
export       env_tool_base=$env_public/tool_bas
export    env_private=$env_config/private
export       env_other=$env_private/other
export    env_always=$env_config/always
export       env_executiv=$env_always/executiv
export          env_markting=$env_executiv/markting
export             env_web_site=$env_markting/web_site
export                env_imag_bin=$env_web_site/imag_bin
export                   env_logos=$env_imag_bin/logos
export       env_project=$env_always/project
export    env_always2=$env_config/always2
export    env_cdrom=$env_config/cdrom
export    env_image=$env_config/image
export    env_flop=$env_config/flop
export    env_sam_test=$env_config/SAM
export    env_usamd=$env_config/usam-d
export    env_tool_base2=$env_config/toolbas2
export    env_resurect=$env_config/resurect


#######################################################################

# Run private sam_env

# It is intended, that you would not make definitions in your private
# sam_env that are based on variables beginning with "sam_" or on the
# variables "env_user" or "env_config", but you do what you think is
# best.

if [ -r "$env_config/aaa" ]; then
   . $env_config/aaa
fi
