#!/bin/sh
# Keep private Drastic runtime libraries separate from system libraries while
# allowing the legacy binaries to resolve them from /opt/drasticscope.
export LD_LIBRARY_PATH="/opt/drasticscope${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
cd "/opt/drasticscope" || exit 1
exec "/opt/drasticscope/DrasticScope" "$@"
