From aefc58585340508d110094890410edc45edd91ec Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Tue, 21 Feb 2012 07:49:42 -0500 Subject: [PATCH] Revert "Bug 7238 Followup - fix sip_run to require path to SIPconfig.xml" This reverts commit d76424a17cb246107dcfaf45fc41ae327c6b57e1. -Introduces changes to sip configuration --- C4/SIP/sip_run.sh | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/C4/SIP/sip_run.sh b/C4/SIP/sip_run.sh index b1bc8d9c43..587e323438 100755 --- a/C4/SIP/sip_run.sh +++ b/C4/SIP/sip_run.sh @@ -26,17 +26,12 @@ done; unset x; cd $PERL5LIB/C4/SIP; echo; +echo Running from `pwd`; -sipconfig=${1}; +sipconfig=${1:-`pwd`/SIPconfig.xml}; outfile=${2:-$HOME/sip.out}; errfile=${3:-$HOME/sip.err}; -if [ $sipconfig ]; then - echo "Running with config file located in $sipconfig" ; - echo "Calling (backgrounded):"; - echo "perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile"; - perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile & - -else - echo "Please specify a config file and try again." -fi +echo "Calling (backgrounded):"; +echo "perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile"; +perl -I./ ./SIPServer.pm $sipconfig >>$outfile 2>>$errfile & -- 2.39.5