trivalent/lin-cargo
2019-06-11 08:39:20 -04:00

14 lines
279 B
Bash
Executable file

#!/bin/bash
# based on https://gist.github.com/luser/a33e5070d1c55a7d2c46fe763a9d1543
set -e
export OPENSSL_DIR=/usr/local
export OPENSSL_STATIC="1"
export PATH="/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
cargo "$@"
unset OPENSSL_STATIC