From 2e8850360219585b7bbb10b3a10fa2ba43371c4e Mon Sep 17 00:00:00 2001
From: Travis Cross <tc@traviscross.com>
Date: Tue, 14 Jan 2014 22:36:17 +0000
Subject: [PATCH] Ignore src/mod/legacy in debian builds

FS-6110 --resolve
---
 debian/bootstrap.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh
index d1451bb6ce..3a5360f7e8 100755
--- a/debian/bootstrap.sh
+++ b/debian/bootstrap.sh
@@ -147,6 +147,7 @@ map_fs_modules () {
   local filterfn="$1" percatfns="$2" permodfns="$3"
   for x in $mod_dir/*; do
     test -d $x || continue
+    test ! ${x##*/} = legacy || continue
     category=${x##*/} category_path=$x
     for f in $percatfns; do $f; done
     for y in $x/*; do