3a8af0ce38
check_site.sh and site.sh were setting GLUON_SITE_CONFIG on their own even though the environment variable was already exported.
7 lines
319 B
Bash
Executable File
7 lines
319 B
Bash
Executable File
#!/bin/sh
|
|
|
|
SITE_CONFIG_LUA=packages/gluon/gluon/gluon-core/files/usr/lib/lua/gluon/site_config.lua
|
|
CHECK_SITE_LIB=scripts/check_site_lib.lua
|
|
|
|
"$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "site = dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}'); dofile(os.getenv('GLUONDIR') .. '/${CHECK_SITE_LIB}'); dofile()"
|