From 1a52098206b26da0343c5308d55daad4e92bc99c Mon Sep 17 00:00:00 2001
From: Martin Nilsson <mani@lysator.liu.se>
Date: Sun, 21 Apr 2002 03:41:07 +0200
Subject: [PATCH] Ignore empty lines and lines beginning with # in the
 export_list.

Rev: bin/export.pike:1.50
---
 bin/export.pike | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/export.pike b/bin/export.pike
index 067622adc5..e71ab8891e 100755
--- a/bin/export.pike
+++ b/bin/export.pike
@@ -1,6 +1,6 @@
 #! /usr/bin/env pike
 
-/* $Id: export.pike,v 1.49 2002/04/14 11:07:35 mikael%brandstrom.org Exp $ */
+/* $Id: export.pike,v 1.50 2002/04/21 01:41:07 nilsson Exp $ */
 
 multiset except_modules = (<>);
 string vpath;
@@ -111,6 +111,8 @@ array(string) build_file_list(string vpath, string list_file)
   array(string) ret=({ });
   foreach(Stdio.FILE(list_file)->line_iterator(1);; string line)
     {
+      if( !sizeof(line) || line[0]=='#' )
+	continue;
       werror("%O\n",line);
       string name=vpath+line;
       if(file_stat(name)->isdir)
-- 
GitLab