Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 05c6fc39689cb15e7b16426512b97ecb > files > 1

gexec-0.3.6-2mdv2008.0.src.rpm

#!/bin/bash
# Wrapper for calling gexec with the right environement
# It loads the /etc/profile.d/cluster.sh for getting the right
# environnement before calling the real gexec

PROFILE=/etc/profile.d/cluster.sh
GEXEC_PATH=/usr/bin

if [ -f $PROFILE ]; then
source $PROFILE
fi
exec $GEXEC_PATH/gexec_wrap $@
~