summaryrefslogtreecommitdiffstats
path: root/lib/dir.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-11 17:19:30 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-11 17:19:30 (EDT)
commit4409feb02b5d44600d270cd0e2ddd749ea9663cb (patch)
treeb8255fa788bf3107d5945e7ca215716681e3447c /lib/dir.sh
parent9d220efaa381e9ea46bb17ffb9d977253c5ef1b1 (diff)
Add missing include guards to some library files.
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}"