diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/prokit.sh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/prokit.sh b/src/prokit.sh index 8b45dcb..e17aa9c 100644 --- a/src/prokit.sh +++ b/src/prokit.sh @@ -45,22 +45,7 @@ fi # use() must be defined inline so it can be used to load other modules. use() { - local module="${1}" - local dir= - - if ${in_place}; then - dir="${builddir}/lib" - else - dir="${PKGDATADIR}" - fi - - if [ -f "${dir}/${module}.sm" ]; then - . "${dir}/${module}.sm" - else - printf '%s: Error: Failed to load module "%s": %s\n' \ - "${0##*/}" "${module}" 'no such file or directory' >&2 - exit 2 - fi + : Stub to be removed. } use locale |