Live video on the AT Protocol
at natb/changesets-2 13 lines 499 B view raw
1#!/bin/bash 2 3# script that gets copied into the build directory to run libstreamplace 4# with the correct environment variables 5 6set -euo pipefail 7 8SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) 9STREAMPLACE_DEV_VERSION=$(go run ./pkg/config/git/git.go -v) \ 10LD_LIBRARY_PATH="$SCRIPT_DIR/lib/usr/local/lib/x86_64-linux-gnu" \ 11DYLD_LIBRARY_PATH="$SCRIPT_DIR/lib/usr/local/lib" \ 12SP_DEV_FRONTEND_PROXY="http://127.0.0.1:38081" \ 13 exec "$SCRIPT_DIR/libstreamplace" "$@"