From f7b7d6bbc998a305200a61c0108227acab0d7bef Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Dec 2015 22:45:13 -0500 Subject: use(): Render useless Get it? --- 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 -- cgit v0.9.1