diff --git a/installers/plcc/env.bash b/installers/plcc/env.bash index a7f5023e..fb161b6e 100755 --- a/installers/plcc/env.bash +++ b/installers/plcc/env.bash @@ -1,5 +1,6 @@ #!/usr/bin/env bash -source "$(dirname -- "${BASH_SOURCE[0]}" )/../../plcc/bin/__init__.bash" && init +PLCC_DIR="$(dirname -- "${BASH_SOURCE[0]}" )/../../plcc" +PLCC_DIR="$(cd -- "${PLCC_DIR}" &> /dev/null && pwd)" echo " export PATH=\"${PLCC_DIR}/bin:\$PATH\"