OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
1.4 KiB

# --------------------------------------------------------------------
# Name: sde_config_dir
#
# Arguments:
# Name name for the config.
#
# Return value:
# The location where the config files are stored for the
# given config name.
# --------------------------------------------------------------------
sde_config_dir() {
local name=$1
# Verify this function was properly called.
# TODO: How should errors be handled/returned?
echo $SDEROOT/config/$name
}
# --------------------------------------------------------------------
# Name: sde_package_dir
#
# Arguments:
# package fully qualified package name.
#
# Return value:
# The location where the package files are stored for the
# given package.
# --------------------------------------------------------------------
sde_package_dir() {
local package=$1
# Verify this function was properly called.
# TODO: How should errors be handled/returned?
echo $SDEROOT/package/${package//./\/}
}
# --------------------------------------------------------------------
# Name: sde_target_dir
#
# Arguments:
# Name name for the target.
#
# Return value:
# The location where the target files are stored for the
# given target name.
# --------------------------------------------------------------------
sde_target_dir() {
local target=$1
# Verify this function was properly called.
# TODO: How should errors be handled/returned?
echo $SDEROOT/target/$target
}