# -----------------------------------------------------------------------
# force CPAN to load by installing something that should already be installed
+echo _.-~= test CPAN
if [ $YES ]; then
yes | cpan Fcntl
else
cpan Fcntl
fi
+echo Return Value = $?
+echo End of test CPAN =~-._
# CPAN follow pre-reqs?
if [ ! "$(echo 'o conf prerequisites_policy' | cpan | grep follow)" ]; then
BASE_DIR=$PWD
# Install some essential tools
-apt-get update;
-apt-get -yq dist-upgrade;
-apt-get -yq install build-essential automake git psmisc ntp rsyslog;
+echo _.-~= Installing some pre-requisites
+apt-get update \
+&& apt-get -yq dist-upgrade \
+&& apt-get -yq install build-essential automake git psmisc ntp rsyslog;
+echo Return Value = $?
+echo End of Installing some pre-requisites =~-._
if [ $LIVETEST ]; then
cpan TAP::Parser::SourceHandler::pgTAP
git clone --depth 0 --branch $EVERGREEN_BRANCH $EVERGREEN_REPO Evergreen;
"
rm -rf /home/opensrf/Evergreen /home/opensrf/OpenSRF
+echo _.-~= Cloning git repos
su - opensrf sh -c "$OSRF_COMMAND";
+echo Return Value = $?
+echo End of Cloning git repos =~-._
# Show tips