Skip to content

Commit

Permalink
Allow the script to be re-sourced
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scavo committed Jan 14, 2017
1 parent a5525ce commit 42ffd5c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/md_tools.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#######################################################################
# Copyright 2016 Internet2
# Copyright 2016--2017 Internet2
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -16,11 +16,6 @@
# limitations under the License.
#######################################################################

# has this file already been sourced?
if [ "$(type -t getEntityFromFile)" = function ]; then
return 0
fi

#######################################################################
# Get entity metadata from a local file.
#
Expand Down

0 comments on commit 42ffd5c

Please sign in to comment.