mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-16 21:00:16 +00:00
14 lines
No EOL
319 B
Bash
14 lines
No EOL
319 B
Bash
#!/bin/bash -e
|
|
|
|
if [ -n "${ZSH_VERSION:-}" ]; then
|
|
DIR="$(readlink -f -- "${(%):-%x}")"
|
|
DIRNAME="$(dirname $DIR)"
|
|
scriptDir="$(dirname $DIRNAME)"
|
|
else
|
|
|
|
scriptDir="$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
|
|
|
|
fi
|
|
|
|
export PULPRT_HOME=$scriptDir
|
|
export PULP_SDK_HOME=$PULPRT_HOME |