Skip to content

Commit

Permalink
Allow library file to be re-sourced
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scavo committed Feb 4, 2017
1 parent 75e3222 commit 68f7c03
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/compatible_mktemp.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#######################################################################
# Copyright 2013--2016 Internet2
# Copyright 2013--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 make_temp_file)" = function ]; then
return 0
fi

#######################################################################
# A simple compatibility wrapper around the mktemp command.
#
Expand Down

0 comments on commit 68f7c03

Please sign in to comment.