#!/bin/sh
#
# Little script to set up the environment before launching ams
#
# Copyright (C) 2003 Andrea Glorioso <andrea.glorioso@agnula.org>
#
# This script is licensed under the GNU GPL v2 - you can find a
# complete copy of the license under /usr/share/common-licenses/GPL-2

LADSPA_DEFAULT_PATH=/usr/lib/ladspa

set | grep LADSPA_PATH | grep LADSPA_DEFAULT_PATH

if [ $? -ne 0 ]; then
	export LADSPA_PATH=${LADSPA_DEFAULT_PATH}:${LADSPA_PATH}
fi

/usr/lib/ams/ams.real $@
