revno: 1920
revision-id: vagrant@freegeek.org-20110811172837-jg0rqp3n2fmsezj0
parent: wimmuskee@gmail.com-20110811184731-1ovwqk57h37e4408
committer: vagrant@freegeek.org
branch nick: ltsp-trunk
timestamp: Thu 2011-08-11 10:28:37 -0700
message:
  Debian: fix syntax error with 095-exports plugin. doh.

Index: ltsp-5.2.16/server/plugins/ltsp-build-client/Debian/095-exports
===================================================================
--- ltsp-5.2.16.orig/server/plugins/ltsp-build-client/Debian/095-exports	2011-08-11 09:18:11.000000000 -0700
+++ ltsp-5.2.16/server/plugins/ltsp-build-client/Debian/095-exports	2011-08-11 21:23:05.354852693 -0700
@@ -5,11 +5,11 @@
     finalization)
         # Export LTSP chroot using NFS to the LTSP client network
         check_exports=/etc/exports
-        if x in /etc/exports.d/*.exports ; do
+        for x in /etc/exports.d/*.exports ; do
             if [ -f "$x" ]; then
                 check_exports="$check_exports $x"
             fi
-        fi
+        done
         if ! grep -q "^$BASE" $check_exports ; then
             if [ -z "$NFS_EXPORT_STRING" ]; then
                 NFS_EXPORT_STRING='*(ro,no_root_squash,async,no_subtree_check)'
