${INSTALL} -m 755 ${NOTIF_INTERLOGD} ${PREFIX}/bin; \
fi
ifdef LB_PERF
+ ${INSTALL} -m 755 ${top_srcdir}/src/perftest_ll.sh ${PREFIX}/sbin
${INSTALL} -m 755 ${top_srcdir}/src/perftest_il.sh ${PREFIX}/sbin
endif
${INSTALL} -m 755 ${top_srcdir}/config/startup ${PREFIX}/etc/init.d/glite-lb-locallogger
numjobs=10
# XXX - there must be better way to find stage
-STAGEDIR=/home/michal/shared/egee/jra1-head/stage
+if [ -z "${GLITE_LOCATION}" ]; then
+ STAGEDIR=/home/michal/shared/egee/jra1-head/stage
+else
+ STAGEDIR=${GLITE_LOCATION}
+fi
+
. $STAGEDIR/sbin/perftest_common.sh
DEBUG=${DEBUG:-0}