databuild/runtime/simple_executable_wrapper.sh.tpl
2025-04-18 19:38:05 -07:00

11 lines
183 B
Smarty
Executable file

#!/bin/bash
set -e
%{RUNFILES_PREFIX}
%{PREFIX}
EXECUTABLE_BINARY="$(rlocation "_main/$(basename "%{EXECUTABLE_PATH}")")"
# Run the configuration
exec "${EXECUTABLE_BINARY}" "$@"