#!/bin/sh
# Resolve our own directory (keeping 7z relocatable) and exec the real console
# binary by absolute path so it finds the co-located 7z.so codec plugin.
here=$(CDPATH= cd -- "$(dirname -- "$0")/../libexec/7zip" && pwd)
exec "$here/7z" "$@"
