From 42ffd5c4b8f91e122bdad1ad0faa1ad4949570eb Mon Sep 17 00:00:00 2001 From: Tom Scavo Date: Sat, 14 Jan 2017 16:45:40 -0500 Subject: [PATCH] Allow the script to be re-sourced --- lib/md_tools.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/md_tools.sh b/lib/md_tools.sh index 0b5fa9b..6e04d80 100755 --- a/lib/md_tools.sh +++ b/lib/md_tools.sh @@ -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. @@ -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. #