Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > ec635d5c24fe2a5baecdf13113d93d89 > files > 1

gexec-0.3.6-10mdv2010.1.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 $@
~