-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load script from pkgdatadir if not local
If the --test=XXX{.lua} script isn't local, load it from the pkgdatadir where some inbuilt scripts are installed. Autoappend the .lua extension if this wasn't done alrady. Here we set the LUA_PATH so that further lua 'require' directives also pull the source from the pkgdatadir. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
- Loading branch information
1 parent
78bd5b3
commit 16ba868
Showing
2 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters