From f0f580aba27a0adc9efc853d75885265a7dbf788 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Aug 2014 13:25:07 -0400 Subject: prokit: Drop "loading_cmd" global variable --- (limited to 'src') 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' ;; -- cgit v0.9.1