#!/bin/sh -efu
if [ $# -ge 2 ]; then
  exec /usr/libexec/imv/imv "$@"
else
  exec /usr/libexec/imv/imv -n "$1" "$(dirname "$1")"
fi
