summaryrefslogtreecommitdiffstats
path: root/lib/index.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/index.sh
parent9d220efaa381e9ea46bb17ffb9d977253c5ef1b1 (diff)
Add missing include guards to some library files.
Diffstat (limited to 'lib/index.sh')
-rw-r--r--lib/index.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/index.sh b/lib/index.sh
index 3b3087f..4ff674c 100644
--- a/lib/index.sh
+++ b/lib/index.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${_INDEX_SM+set}" = 'xset' ] && return 0
+_INDEX_SM=1
+
use dir
feed_add_package()