Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.61 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.61 KB

plbcom

Common code, utilities, and command files used in PLB website. A submodule to plbweb and plbdb, it includes scripts for downloading and building required tools as common code and definitions used by both projects.

As of this writing (11 Oct 24), all scripts in bin/sh and code/sh adhere to POSIX IEEE Std 1003.1 and have been tested under bash, dash, and zsh. They cannot be sourced (.) in the current shell as they rely on $0 to be the running script path and call other scripts relative to it. $0 changes under bash and dash to be the shell exe.

References

Files

  • code/erlang
    Common modules and include files used by Erlang scripts and modules.

  • code/sh
    Scripts for building and installing tools required by PLB services. Tools are installed to PATH_EXE and symbolic links to the tool command(s) are created in PATH_BIN.

Configuration

These variables must be set before the build commands in this repo can be used.

  • PATH_EXE
    Location where build scripts download required tools into individual subfolders and execute any required build commands.

  • PATH_BIN
    Location where symbolic links to command files are created following the build of any of the required tools. Default location is PATH_EXE/_bin.
    This folder must be manually added to PATH.