#!/bin/sh # $FreeBSD: head/lang/clang34/files/llvm-wrapper.sh.in 369351 2014-09-27 01:00:41Z brooks $ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" tool=$(basename $0) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${LLVM_PREFIX}/lib/python" \ LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}"