summaryrefslogtreecommitdiffstats
path: root/lib/dir.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dir.sh')
-rw-r--r--lib/dir.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dir.sh b/lib/dir.sh
index b72d786..0b866c0 100644
--- a/lib/dir.sh
+++ b/lib/dir.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_DIR_SM+set}" = 'xset' ] && return 0
+_DIR_SM=1
+
hash_name()
{
local name="${1}"