#!/bin/bash
#
# Since this is run as a script, we won't endanger
# the prior setting of LD_PRELOAD, but there may have
# been something useful already set so we we need to
# reset it to it's prior value.
#
# Note, too, that this is meant to be used as a '.'
# script.  The 'export' below will not affect a
# parent process.
#

A_NEW_LD_PRELOAD=`echo $LD_PRELOAD | sed -e 's+/usr/lib/libqprof.so:++'`
LD_PRELOAD=$A_NEW_LD_PRELOAD
export LD_PRELOAD


