7 if [ -z $JPP_DIR ];
then
8 echo "Variable JPP_DIR undefined."
12 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
26 if (( $? != 0 ));
then
27 echo "Remove broken cookie file $COOKIE";
34 if [[ -z
"$DBCOOKIE" ]];
then
41 wget --no-check-certificate \
42 "https://km3netdbweb.in2p3.fr/home.htm?usr=${USR}&pwd=${PWD}&persist=y" \
43 -O
$COOKIE && sed -i --
"s/sid=/.in2p3.fr\\tTRUE\\t\/\\tTRUE\\t0\\tsid\\t/g" $COOKIE
46 fatal
"No cookie $COOKIE"
50 echo "Using DBCOOKIE; unset to disable."
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream.
static const double C
Physics constants.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then echo Remove broken cookie file $COOKIE
alias put_queue eval echo n
esac timer_start JCookie sh set_variable COOKIE(cat~/.km3netdb_cookie) set_variable LOGIN $
do set_variable DETECTOR_TXT $WORKDIR detector
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null