#!/bin/sh
## layer of indirection between WindowMaker's OPEN_WITH function
## and the Launcher
## Ethan Gold <etgold@cs.columbia.edu> 4/19/99
##

index=`launcherchoice "Browse" "File" "Dir (parent)"`
if [ $index == 0 ] then
    exec launcher ${1}
endif
if [ $index = 1 ] then
    exec launcher ${1:h}
endif

exit
