===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
openstack-pkg-tools-117/build-tools/pkgos-bb-59-fi
openstack-pkg-tools-117/build-tools/pkgos-bb:60:DEB_VERSION=`rmadison $RMADURL --suite=${SRC_DISTRO} ${PKG_NAME} | grep -E ' amd64| all' | awk '{print $3}'`
openstack-pkg-tools-117/build-tools/pkgos-bb-61-NO_EPOCH_DEB_VERSION=$(echo ${DEB_VERSION} | sed 's/^[[:digit:]]*://')
openstack-pkg-tools-117/build-tools/pkgos-bb:62:UPSTREAM_VERSION=`echo ${DEB_VERSION} | sed 's/-[^-]*$//' | cut -d":" -f2`
openstack-pkg-tools-117/build-tools/pkgos-bb:63:DSC_URL=`cat ${PKG_INFO_FILE} | grep dsc | cut -d'"' -f2`
openstack-pkg-tools-117/build-tools/pkgos-bb-64-rm ${PKG_INFO_FILE}
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bb-74-PKG_SRC_NAME=`ls *.dsc | cut -d_ -f1`
openstack-pkg-tools-117/build-tools/pkgos-bb:75:PKG_NAME_FIRST_CHAR=`echo ${PKG_SRC_NAME} | awk '{print substr($0,1,1)}'`
openstack-pkg-tools-117/build-tools/pkgos-bb-76-
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bb-78-DSC_FILE=`ls *.dsc`
openstack-pkg-tools-117/build-tools/pkgos-bb:79:DSC_FILE=`basename $DSC_FILE`
openstack-pkg-tools-117/build-tools/pkgos-bb:80:SOURCE_NAME=`echo $DSC_FILE | cut -d_ -f1`
openstack-pkg-tools-117/build-tools/pkgos-bb-81-
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bop-33-	DEB_VERS=`dpkg-parsechangelog -SVersion`
openstack-pkg-tools-117/build-tools/pkgos-bop:34:	NO_EPOC=`echo ${DEB_VERS} | cut -d":" -f2`
openstack-pkg-tools-117/build-tools/pkgos-bop:35:	UPSTREAM_VERS=`echo ${NO_EPOC} | cut -d"-" -f1`
openstack-pkg-tools-117/build-tools/pkgos-bop-36-	if [ "${DEB_VERS}" = "${UPSTREAM_VERS}" ] ; then IS_NATIVE="yes" ; else IS_NATIVE="no" ; fi
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bop-38-	CHANGE=${PKG_NAME}_${NO_EPOC}_${ARCH}.changes
openstack-pkg-tools-117/build-tools/pkgos-bop:39:	PKG_NAME_FIRST_CHAR=`echo ${PKG_NAME} | awk '{print substr($0,1,1)}'`
openstack-pkg-tools-117/build-tools/pkgos-bop-40-}
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bop-48-			if [ -r debian/gbp.conf ] ; then
openstack-pkg-tools-117/build-tools/pkgos-bop:49:				COMPRESSION_IN_FILE=`cat debian/gbp.conf | grep compression | cut -d'=' -f2 | awk '{print $1}'`
openstack-pkg-tools-117/build-tools/pkgos-bop-50-				if [ "${COMPRESSION_IN_FILE}" = "gz" ] ; then
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bop-68-	echo "===> Building using git-buildpackage"
openstack-pkg-tools-117/build-tools/pkgos-bop:69:	LAST_GIT_COMMIT=`git log | head -n 1 | awk '{print $2}'`
openstack-pkg-tools-117/build-tools/pkgos-bop-70-	dch --newversion ${DEB_VERS}${BPO_DISTRO_NUM} -b --allow-lower-version -m  "Rebuilt by bop."
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-62-	DEB_VERS=`dpkg-parsechangelog -SVersion`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins:63:	NO_EPOC=`echo ${DEB_VERS} | cut -d":" -f2`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-64-	if echo ${DEB_VERS} | grep -q ':' ; then
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins:65:		EPOC=`echo ${DEB_VERS} | cut -d":" -f1`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-66-	fi
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins:67:	UPSTREAM_VERS=`echo ${NO_EPOC} | cut -d"-" -f1`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-68-	if [ "${DEB_VERS}" = "${UPSTREAM_VERS}" ] ; then IS_NATIVE="yes" ; else IS_NATIVE="no" ; fi
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-70-	CHANGE=${PKG_NAME}_${NO_EPOC}_${ARCH}.changes
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins:71:	PKG_NAME_FIRST_CHAR=`echo ${PKG_NAME} | awk '{print substr($0,1,1)}'`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-72-}
##############################################
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-136-				GIT_SHA256_FULL=`git log | head -n1 | cut -d' ' -f2`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins:137:				GIT_SHA256=`echo ${GIT_SHA256_FULL} | awk '{print substr($0,0,10)}'`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-138-				DATETIME=`date +%F | sed s/-/./g`.`date +%T | sed s/:/./g`
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins:139:				UPSTREAM_NEW_TAG=`echo ${UPSTREAM_VERS} | sed s/~/_/`+git${DATETIME}.${GIT_SHA256}
openstack-pkg-tools-117/build-tools/pkgos-bop-jenkins-140-				UPSTREAM_NEW_VERSION=${UPSTREAM_VERS}+git${DATETIME}.${GIT_SHA256}
##############################################
openstack-pkg-tools-117/build-tools/pkgos-keyring-package-17-detect_env () {
openstack-pkg-tools-117/build-tools/pkgos-keyring-package:18:	DEB_RELEASE=`lsb_release -a | grep Codename: | awk '{print $2}'`
openstack-pkg-tools-117/build-tools/pkgos-keyring-package:19:	DEB_RELEASE_NUM=`lsb_release -a | grep Release: | awk '{print $2}'`
openstack-pkg-tools-117/build-tools/pkgos-keyring-package-20-	DEB_DIST_TYPE=$(lsb_release -a | grep "Distributor ID:" | awk '{print $3}')
##############################################
openstack-pkg-tools-117/build-tools/pkgos-keyring-package-105-	dpkg-buildpackage
openstack-pkg-tools-117/build-tools/pkgos-keyring-package:106:	FIRST_LETTER=`echo ${NAME} | awk '{print substr($0,0,2)}'`
openstack-pkg-tools-117/build-tools/pkgos-keyring-package-107-	cd ..
##############################################
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-17-detect_env () {
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild:18:	DEB_RELEASE=`lsb_release -a | grep Codename: | awk '{print $2}'`
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild:19:	DEB_RELEASE_NUM=`lsb_release -a | grep Release: | awk '{print $2}'`
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-20-	DEB_DIST_TYPE=$(lsb_release -a | grep "Distributor ID:" | awk '{print $3}')
##############################################
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-25-configure_hostname () {
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild:26:	DEFROUTE_IF=`LC_ALL=C /sbin/route | grep default |awk -- '{ print $8 }' | cut -d" " -f1`
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-27-	if [ -n "${DEFROUTE_IF}" ] ; then
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild:28:		DEFROUTE_IP=`LC_ALL=C ip addr show "${DEFROUTE_IF}" | grep inet | head -n 1 | awk '{print $2}' | cut -d/ -f1 | grep -E '^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$'`
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-29-		if [ -n "${DEFROUTE_IP}" ] ; then
##############################################
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-300-	su ${THE_DEV_USER} -c dpkg-buildpackage || true
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild:301:	FIRST_LETTER=`echo ${TARGET_OPENSTACK_REL} | awk '{print substr($0,0,2)}'`
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-302-	cd ..
##############################################
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-369-	# Install the juno-jessie-archive-keyring package in the repository
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild:370:	FIRST_LETTER=`echo ${TARGET_OPENSTACK_REL} | awk '{print substr($0,0,2)}'`
openstack-pkg-tools-117/build-tools/pkgos-setup-sbuild-371-	NAME=${TARGET_OPENSTACK_REL}-${TARGET_DISTRO}-archive-keyring
##############################################
openstack-pkg-tools-117/init-template/pkgos-gen-systemd-unit-8-INIT_TEMPLATE=${1}
openstack-pkg-tools-117/init-template/pkgos-gen-systemd-unit:9:SERVICE_FILE=`echo ${INIT_TEMPLATE} | sed 's/.init.in/.service/'`
openstack-pkg-tools-117/init-template/pkgos-gen-systemd-unit-10-
##############################################
openstack-pkg-tools-117/misc/pkgos-check-changelog-181-			if dpkg --compare-versions "${VERSION_1}" gt "${VERSION_2}" ; then
openstack-pkg-tools-117/misc/pkgos-check-changelog:182:				if [ `date -d ${DATE_1} +%s` -gt `date -d ${DATE_2} +%s` ]; then
openstack-pkg-tools-117/misc/pkgos-check-changelog-183-					continue
##############################################
openstack-pkg-tools-117/misc/pkgos-check-changelog-189-			elif dpkg --compare-versions "${VERSION_1%~*}" ge "${VERSION_2}" ; then
openstack-pkg-tools-117/misc/pkgos-check-changelog:190:				if [ `date -d ${DATE_1} +%s` -gt `date -d ${DATE_2} +%s` ]; then
openstack-pkg-tools-117/misc/pkgos-check-changelog-191-					continue
##############################################
openstack-pkg-tools-117/misc/pkgos-debpypi-22-# Calculate the package name based on the command line argument
openstack-pkg-tools-117/misc/pkgos-debpypi:23:LOWER_PKG_NAME=`echo ${PKG_NAME} | awk '{print tolower($0)}'`
openstack-pkg-tools-117/misc/pkgos-debpypi:24:LOWER_PKG_NAME=`echo ${LOWER_PKG_NAME} | sed 's/_/-/g'`
openstack-pkg-tools-117/misc/pkgos-debpypi-25-if echo ${LOWER_PKG_NAME} | grep -q '^python-' ; then
##############################################
openstack-pkg-tools-117/misc/pkgos-debpypi-93-if [ -n "${DOC_FOLDER}" ] ; then
openstack-pkg-tools-117/misc/pkgos-debpypi:94:	CONFPY_FILE=`find ${DOC_FOLDER} -name 'conf.py'`
openstack-pkg-tools-117/misc/pkgos-debpypi-95-	if [ -r "${CONFPY_FILE}" ] ; then
openstack-pkg-tools-117/misc/pkgos-debpypi:96:		DOC_FOLDER=`dirname ${CONFPY_FILE}`
openstack-pkg-tools-117/misc/pkgos-debpypi-97-		SPHINX_BUILD_DEP=", python3-sphinx"
##############################################
openstack-pkg-tools-117/misc/pkgos-parse-requirements-99-	DEP_LIST=""
openstack-pkg-tools-117/misc/pkgos-parse-requirements:100:#	echo `cat ${INPUT_FILE} | grep -v '^#' | grep -v '^[ \t]*$' | awk '{print $1}' | tr '[:upper:]' '[:lower:]' | sed $EXP`
openstack-pkg-tools-117/misc/pkgos-parse-requirements:101:	for i in `cat ${INPUT_FILE} | grep -v '^#' | grep -v '^[ \t]*$' | awk '{print $1}' | tr '[:upper:]' '[:lower:]' | sed $EXP` ; do
openstack-pkg-tools-117/misc/pkgos-parse-requirements-102-#		echo "Line ---> $i"
openstack-pkg-tools-117/misc/pkgos-parse-requirements-103-		if echo $i | grep -q -e '^http://' ; then
openstack-pkg-tools-117/misc/pkgos-parse-requirements:104:			i=`echo $i | cut -d'=' -f2`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-105-			VERS=""
openstack-pkg-tools-117/misc/pkgos-parse-requirements-106-		else
openstack-pkg-tools-117/misc/pkgos-parse-requirements:107:			TRIM_VERS=`echo $i | sed -e 's/^[-a-zA-Z0-9._]*//'`
openstack-pkg-tools-117/misc/pkgos-parse-requirements:108:			VERS=`echo $TRIM_VERS | sed -e 's/^[-a-zA-Z0-9._]*//' | tr ',|;' '\n' | sort | tr '\n' ',' | sed -e 's/,$//'`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-109-		fi
openstack-pkg-tools-117/misc/pkgos-parse-requirements-110-		if [ -n "$VERS" ] ; then
openstack-pkg-tools-117/misc/pkgos-parse-requirements:111:			PKG=`echo $i | sed -e "s/${TRIM_VERS}//" | sed -e s/python-//`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-112-		else
openstack-pkg-tools-117/misc/pkgos-parse-requirements:113:			PKG=`echo $i | sed -e s/python-//`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-114-		fi
openstack-pkg-tools-117/misc/pkgos-parse-requirements:115:		PKG=`echo ${PKG} | sed -e s/_/-/g`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-116-		is_blacklisted ${PKG}
##############################################
openstack-pkg-tools-117/misc/pkgos-parse-requirements-127-			# doesn't have any upper case in package names
openstack-pkg-tools-117/misc/pkgos-parse-requirements:128:			PKG=`echo ${PKG} | tr '[:upper:]' '[:lower:]'`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-129-			if [ -n "$VERS" ] && [ ${PKG} != "python-hacking" ] ; then
##############################################
openstack-pkg-tools-117/misc/pkgos-parse-requirements-131-				# of dependency to the Debian one (ie: >> instead of >)
openstack-pkg-tools-117/misc/pkgos-parse-requirements:132:				FIRST_CONSTR=`echo $VERS | cut -d, -f1`
openstack-pkg-tools-117/misc/pkgos-parse-requirements:133:				FIRST_NUMS=`echo $FIRST_CONSTR | sed -e 's/[<>=\!]*//'`
openstack-pkg-tools-117/misc/pkgos-parse-requirements:134:				FIRST_SIGN=`echo $FIRST_CONSTR | sed -e "s/${FIRST_NUMS}//"`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-135-				if [ "${FIRST_SIGN}" = '<' ] ; then
##############################################
openstack-pkg-tools-117/misc/pkgos-parse-requirements-152-				if [ -d /etc/pkgos/fake-jessie-mirror ] ; then
openstack-pkg-tools-117/misc/pkgos-parse-requirements:153:					STABLE_VERSION=`madison-lite -a all,amd64 --mirror /etc/pkgos/fake-${TARGET_DISTRO}-mirror ${PKG} | awk '{print $3}'`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-154-					# Make sure that the package is in the stable repo
##############################################
openstack-pkg-tools-117/misc/pkgos-parse-requirements-168-				if [ "${PYVERS}" = 3 ] ; then
openstack-pkg-tools-117/misc/pkgos-parse-requirements:169:					PKG=`echo ${PKG} | sed s/python-/python3-/`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-170-					is_py3_blacklisted ${PKG}
##############################################
openstack-pkg-tools-117/misc/pkgos-parse-requirements-197-#	set -x
openstack-pkg-tools-117/misc/pkgos-parse-requirements:198:	SPACES_IN_FRONT=`echo "${1} " | sed -e 's/[a-zBDI:-]/ /g'`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-199-	CNT="0"
##############################################
openstack-pkg-tools-117/misc/pkgos-parse-requirements-217-		while read i ; do
openstack-pkg-tools-117/misc/pkgos-parse-requirements:218:			SOURCE=`echo $i | cut -d" " -f1`
openstack-pkg-tools-117/misc/pkgos-parse-requirements:219:			DEST=`echo $i | cut -d" " -f2`
openstack-pkg-tools-117/misc/pkgos-parse-requirements-220-			EXP="$EXP -e s/$SOURCE/$DEST/"
##############################################
openstack-pkg-tools-117/pkgos.make-20-	set -e ; set -x ; for i in `ls -1 debian/*.init.in` ; do \
openstack-pkg-tools-117/pkgos.make:21:		MYINIT=`echo $$i | sed s/.init.in//` ; \
openstack-pkg-tools-117/pkgos.make-22-		cp $$i $$MYINIT.init ; \
##############################################
openstack-pkg-tools-117/pkgos.make-27-	set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \
openstack-pkg-tools-117/pkgos.make:28:		MYPKG=`echo $$i | sed s/.service.in//` ; \
openstack-pkg-tools-117/pkgos.make-29-		cp $$MYPKG.service.in $$MYPKG.service ; \
##############################################
openstack-pkg-tools-117/pkgos.make-32-	set -e ; set -x ; for i in `ls debian/*.init.in` ; do \
openstack-pkg-tools-117/pkgos.make:33:		MYINIT=`echo $$i | sed s/.init.in/.service.in/` ; \
openstack-pkg-tools-117/pkgos.make-34-		if ! [ -e $$MYINIT ] ; then \
##############################################
openstack-pkg-tools-117/pkgos_func-28-		if echo ${REMOVESEC_LINE} | grep -q '^[ \t]*\[.*\][ \t]*$' ; then
openstack-pkg-tools-117/pkgos_func:29:			REMOVESEC_FOUND_SECTION=`echo ${REMOVESEC_LINE} | sed -e 's/\[//' | sed -e 's/\]//'`
openstack-pkg-tools-117/pkgos_func-30-			if [ "${REMOVESEC_FOUND_SECTION}" = "${REMOVESEC_SEARCH_SECTION}" ] ; then
##############################################
openstack-pkg-tools-117/pkgos_func-47-	if [ -n "${REMOVESEC_START_LINE}" ] && [ -n "${REMOVESEC_END_LINE}" ] ; then
openstack-pkg-tools-117/pkgos_func:48:		REMOVESEC_CONF_LINES_NUM=`wc -l ${REMOVESEC_INIFILE} | cut -d" " -f1`
openstack-pkg-tools-117/pkgos_func-49-		REMOVESEC_CUT_END=$((${REMOVESEC_CONF_LINES_NUM} - ${REMOVESEC_END_LINE} ))
##############################################
openstack-pkg-tools-117/pkgos_func-283-		if echo ${INIFILE_LINE} | grep -q '^[ \t]*[\._\/a-zA-Z0-9]*[ \t]*=[ \t]*' ; then
openstack-pkg-tools-117/pkgos_func:284:			RET=`echo ${INIFILE_LINE} | cut -d= -f2 | sed -e 's/^[ \t]//g'`
openstack-pkg-tools-117/pkgos_func-285-			return
##############################################
openstack-pkg-tools-117/pkgos_func-287-		else
openstack-pkg-tools-117/pkgos_func:288:			RET=`echo ${INIFILE_LINE} | cut -d':' -f2 | sed -e 's/^[ \t]//g'`
openstack-pkg-tools-117/pkgos_func-289-			return
##############################################
openstack-pkg-tools-117/pkgos_func-482-			fi
openstack-pkg-tools-117/pkgos_func:483:			dbc_basepath=`dirname "${PARSED_DB_PATH}"`
openstack-pkg-tools-117/pkgos_func:484:			dbc_dbname=`basename "${PARSED_DB_PATH}"`
openstack-pkg-tools-117/pkgos_func-485-			dbc_dbtypes="sqlite3, mysql, pgsql"
##############################################
openstack-pkg-tools-117/pkgos_func-572-
openstack-pkg-tools-117/pkgos_func:573:	CONF_DIR=`dirname ${DBC_POST_CONF_PATH}`
openstack-pkg-tools-117/pkgos_func:574:	DBC_POST_CONF_FNAME=`basename ${DBC_POST_CONF_PATH}`
openstack-pkg-tools-117/pkgos_func-575-
##############################################
openstack-pkg-tools-117/pkgos_func-599-					# Set the DB as UTF8
openstack-pkg-tools-117/pkgos_func:600:					Q="ALTER DATABASE \`${dbc_dbname}\` CHARACTER SET utf8"
openstack-pkg-tools-117/pkgos_func-601-					pkgos_mysql_query ${dbc_dbuser} ${dbc_dbpass} ${dbc_dbserver:-localhost} "${dbc_dbport}" ${dbc_dbname} "${Q}"
##############################################
openstack-pkg-tools-117/pkgos_func-990-		db_get ${PKG_NAME}/api-keystone-address
openstack-pkg-tools-117/pkgos_func:991:		KEYSTONE_ENDPOINT_IP=`echo "${RET}" | egrep ${REG_ENDPOINT_IPV4_REGEX}` || true
openstack-pkg-tools-117/pkgos_func-992-		if [ -z "${KEYSTONE_ENDPOINT_IP}" ] ; then
openstack-pkg-tools-117/pkgos_func:993:			KEYSTONE_ENDPOINT_IP=`echo "${RET}" | egrep ${REG_ENDPOINT_IPV6_REGEX}` || true
openstack-pkg-tools-117/pkgos_func-994-			if [ -z ${KEYSTONE_ENDPOINT_IP} ] ; then
openstack-pkg-tools-117/pkgos_func:995:				KEYSTONE_ENDPOINT_IP=`echo ${RET} | egrep ${REG_ENDPOINT_FQDN_REGEX}` || true
openstack-pkg-tools-117/pkgos_func-996-				if [ -z ${KEYSTONE_ENDPOINT_IP} ] ; then
##############################################
openstack-pkg-tools-117/pkgos_func-1010-		db_get ${PKG_NAME}/api-endpoint-address
openstack-pkg-tools-117/pkgos_func:1011:		PKG_ENDPOINT_IP=`echo ${RET} | egrep ${REG_ENDPOINT_IPV4_REGEX}` || true
openstack-pkg-tools-117/pkgos_func-1012-		if [ -z "${PKG_ENDPOINT_IP}" ] ; then
openstack-pkg-tools-117/pkgos_func:1013:			PKG_ENDPOINT_IP=`echo "${RET}" | egrep ${REG_ENDPOINT_IPV6_REGEX}` || true
openstack-pkg-tools-117/pkgos_func-1014-			if [ -z ${PKG_ENDPOINT_IP} ] ; then
openstack-pkg-tools-117/pkgos_func:1015:				PKG_ENDPOINT_IP=`echo ${RET} | egrep ${REG_ENDPOINT_FQDN_REGEX}` || true
openstack-pkg-tools-117/pkgos_func-1016-				if [ -z ${PKG_ENDPOINT_IP} ] ; then
##############################################
openstack-pkg-tools-117/pkgos_func-1023-		db_get ${PKG_NAME}/api-endpoint-region-name
openstack-pkg-tools-117/pkgos_func:1024:		REGION_NAME=`echo "${RET}" | egrep ${REG_ENDPOINT_REGION_REGEX}` || true
openstack-pkg-tools-117/pkgos_func-1025-		if [ -z "${REGION_NAME}" ] ; then
##############################################
openstack-pkg-tools-117/pkgos_func-1055-			export OS_NO_CACHE=1
openstack-pkg-tools-117/pkgos_func:1056:			NUM_LINES=$(OS_PASSWORD=${KEYSTONE_ADMIN_PASSWORD} openstack service list --format=csv | q -d , -H 'SELECT ID FROM - WHERE `Type`="'${SERVICE_TYPE}'"' | wc -l)
openstack-pkg-tools-117/pkgos_func-1057-			if [ "${NUM_LINES}" = "0" ] ; then