#!/bin/bash -x
# Copyright (c) 2004 Networks Associates Technology Inc.  All rights reserved.
# General WebShield python launcher - allows python scripts to be run with right
# environment by using "#!/bin/bash /usr/sbin/webshield-python" as first line.
# $Header: /cvs/WebShield/wsrc/files/platform/Linux/usr/sbin/webshield-python,v 1.2 2004/02/02 14:19:18 bwhittak Exp $

launch=${0%-python}
[[ $launch != $0 && -x $launch ]] || launch=/usr/sbin/webshield

exec "$launch" python "$@"
