#!/bin/sh
#
# packageWithExecutable - return the package(rpm) that contains the executable 
#			  program defined by the passed in argument
#

cmd_path="$1"

# Default to rpm, this is probably wrong on SunOS, UnixWare and other Linux
# distributions.

rpm -q -f $cmd_path
