hps-java/scripts
diff -u -r1.10 -r1.11
--- et_evio_file_producer_test.sh 10 Apr 2012 19:50:44 -0000 1.10
+++ et_evio_file_producer_test.sh 24 Apr 2012 19:18:58 -0000 1.11
@@ -1,19 +1,7 @@
#!/bin/sh
-# This stuff only works on Linux due to dependency on a system-dependent JNI lib which doesn't seem to compile on OSX.
-if [ $(uname) = "Linux" ]
-then
- echo "Running on a Linux system. OK."
-else
- echo "Not running on a Linux system. Bailing!"
- exit 1
-fi
-
-# Check for LD_LIBRARY_PATH which should point to hps-et-java lib dir.
-if [ -z "$LD_LIBRARY_PATH" ]; then
- echo "No LD_LIBRARY_PATH is set in your environment. Set this to [--YOUR_PATH_TO--]/hps-et-java/lib/lib/Linux-x86_64/ and try again."
- exit 1
-fi
+# Script to stream an EVIO file onto an ET ring.
+# You need to setup the path to JNI libraries yourself which are in hps-et-java/lib/[arch] .
# Single argument is name of EVIO file.
eviofile=$1