From: Jason Etheridge Date: Fri, 10 Jun 2022 20:06:04 +0000 (-0400) Subject: make tesh.sh more portable X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6e400e2526f8df1d7cc1565742858ae7ad5ed4f4;p=working%2Frandom.git make tesh.sh more portable Signed-off-by: Jason Etheridge --- diff --git a/qa/test.sh b/qa/test.sh index c32b55c25..82535d6a6 100755 --- a/qa/test.sh +++ b/qa/test.sh @@ -1,12 +1,12 @@ #!/bin/bash -. /home/live/.bashrc +. /home/$USER/.bashrc export TARGET_USER=esi export TARGET_HOST=192.168.25.129 -export TARGET_PATH=/home/esi/ -export LOCAL_QA_GIT_PATH=/home/live/git/random/ +export TARGET_PATH=/home/$TARGET_USER/ +export LOCAL_QA_GIT_PATH=/home/$USER/git/random/ export LOCAL_QA_BRANCH=collab/phasefx/eg_live_tests -export LOCAL_HTML_PATH=/home/live/public_html/ +export LOCAL_HTML_PATH=/home/$USER/public_html/ echo -n "*** Changing to $LOCAL_QA_GIT_PATH ... " cd $LOCAL_QA_GIT_PATH || exit -1 @@ -28,8 +28,8 @@ export TEST_MAINDIR=`date +%Y-%m` || exit -1 export TEST_SUBDIR=`date +%F_%T` || exit -1 export TESTDIR=archive/$TEST_MAINDIR/$TEST_SUBDIR mkdir -p $TESTDIR || exit -1 -cp *.hash $TESTDIR || exit -1 -cp pass_fail.txt.prev $TESTDIR || exit -1 +cp *.hash $TESTDIR # || exit -1 +cp pass_fail.txt.prev $TESTDIR # || exit -1 echo "*** Location created" echo "*** Setting up new output"