#!/bin/csh
# utility script for setting environment for Jpp software
# within a CMake build environment
# note this script is only used in JDataFilter test
# and there's no guarantee it would work for anything else
# e.g. it does not define a timeout function... or a fake
# make function like the setenv.sh

if ( -r @km3net-ulib_SOURCE_DIR@/ulib.csh ) then
  source @km3net-ulib_SOURCE_DIR@/ulib.csh
else
  echo "ERROR: could not locate ulib.csh"
  return
endif

# if  (! command -v timeout &>/dev/null)  then
#   function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
# endif
