#!/bin/sh # The following combines the effects of ${WINGZ3}/bin/WingzPro # and the ${WINGZ3}/bin/wzenv (yes, it does set the LD_RUN_PATH, # while exporting the SHLIB_PATH). WINGZ3=%%PREFIX%%/Wingz3 WZUSER="IISC" WZCOMPANY="IISC" WZPLATFORM=LINUX LD_RUN_PATH=$WINGZ3/lib/$WZPLATFORM:$LD_RUN_PATH if [ -z "$LD_LIBRARY_PATH" ] then export LD_LIBRARY_PATH=$WINGZ3/lib/libc5 else LD_LIBRARY_PATH=$WINGZ3/lib/libc5:$LD_LIBRARY_PATH fi WZBSDECHO=TRUE export XLOCALEDIR=/usr/share/X11/locale # Under LINUXBASE export WINGZ3 WZCOMPANY WZUSER WZPLATFORM SHLIB_PATH WZBSDECHO # Invoke the binary directly: exec ${WINGZ3}/bin/LINUX/WingzPro "$@"