diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
commit | 1963538d18459e1e9f09808912cb0aae9ace1f3c (patch) | |
tree | c1b98011494ac6559eade509195118bdf53344df /etc | |
parent | b5b996507c6287b5216a7c628adfdf23ec7dc4a2 (diff) |
Use bpkg structs in package
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/apachectl | 4 | ||||
-rw-r--r-- | etc/config | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/etc/apachectl b/etc/apachectl index 8f58896..43e39ee 100755 --- a/etc/apachectl +++ b/etc/apachectl @@ -37,6 +37,10 @@ export AP_WWW_DIR export AP_CONFIG_DIR export AP_WORKSPACE_DIR +if test -n "$AP_LIB_DIRS"; then + export LD_LIBRARY_PATH=$AP_LIB_DIRS:$LD_LIBRARY_PATH +fi + mkdir -p "$AP_WORKSPACE_DIR" mkdir -p "$AP_LOG_DIR" @@ -18,6 +18,7 @@ AP_ADMIN_EMAIL=admin@cppget.org AP_LOG_LEVEL=trace1 AP_DB_HOST="$PG_WORKSPACE_DIR" AP_DB_PORT=$PG_PORT +AP_LIB_DIRS="$PROJECT_DIR/../libbutl/butl:$PROJECT_DIR/../libbpkg/bpkg" AP_MODULE_DIR="$PROJECT_DIR" AP_WWW_DIR="$PROJECT_DIR/www" AP_CONFIG_DIR="$CONFIG_DIR" |