diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-15 13:25:07 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-15 13:25:53 (EDT) |
commit | f0f580aba27a0adc9efc853d75885265a7dbf788 (patch) | |
tree | af17675cb7e70df7c60f9ad533a030c22b8e2e9b /src | |
parent | c4ccf8d615297b56399efa1e90a78309ac01e2d2 (diff) |
prokit: Drop "loading_cmd" global variable
Diffstat (limited to 'src')
-rw-r--r-- | src/prokit.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/prokit.sh b/src/prokit.sh index 63e7553..28d3b65 100644 --- a/src/prokit.sh +++ b/src/prokit.sh @@ -32,9 +32,6 @@ PKGDATACMDDIR='@pkgdatacmddir@' PKGDATAPROFILEDIR='@pkgdataprofiledir@' OPTSTRING='hV' -# Global variables -loading_cmd= - # use() must be defined inline so it can be used to load other modules. use() { @@ -49,9 +46,6 @@ use() else case "${module%/*}" in 'cmd') - loading_cmd="$(printf '%s' "${module##*/}" | \ - tr '[A-Z]' '[a-z]' | \ - tr -C '[a-z0-9_]' '_')" default_dir="${PKGDATACMDDIR}" lib_subdir='cmd' ;; |