Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 9c31c0ca2451c85a0500455d64c7f0ac > files > 9

xview-3.2p1.4-8mdk.src.rpm

#!/bin/sh

# Running olvwm directly through the x-window-manager link seems to cause
# problems, because the program name is used to find certain resources.
# So we let x-window-manager point to this wrapper and then exec olvwm with
# it real name.

[ -z "$DISPLAY" ] && export DISPLAY=:0.0
export WINDOWMANAGER=$OPENWINHOME/bin/olvwm
exec $(which openwin) "$@"