From bcc6adedee910959a53ee773280e60f7c87f34b4 Mon Sep 17 00:00:00 2001 From: Marek Habersack <mhabersack@novell.com> Date: Sun, 28 Apr 2002 15:28:54 +0200 Subject: [PATCH] Fixed bug notified by Marek Habersack. refdoc/chapters should be included rather than refdoc/not_extracted Rev: bin/export.pike:1.51 Rev: src/export_list:1.3 --- bin/export.pike | 5 +++-- src/export_list | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/export.pike b/bin/export.pike index e71ab8891e..3cb40a1284 100755 --- a/bin/export.pike +++ b/bin/export.pike @@ -1,6 +1,6 @@ #! /usr/bin/env pike -/* $Id: export.pike,v 1.50 2002/04/21 01:41:07 nilsson Exp $ */ +/* $Id: export.pike,v 1.51 2002/04/28 13:28:54 mikael%brandstrom.org Exp $ */ multiset except_modules = (<>); string vpath; @@ -115,7 +115,8 @@ array(string) build_file_list(string vpath, string list_file) continue; werror("%O\n",line); string name=vpath+line; - if(file_stat(name)->isdir) + Stdio.Stat fs; + if((fs = file_stat(name)) && fs->isdir) ret += get_files(name); else ret += ({ name }); diff --git a/src/export_list b/src/export_list index 59859adbf0..b12aad6544 100644 --- a/src/export_list +++ b/src/export_list @@ -1,4 +1,4 @@ -# $Id: export_list,v 1.2 2002/04/21 01:41:23 nilsson Exp $ +# $Id: export_list,v 1.3 2002/04/28 13:28:54 mikael%brandstrom.org Exp $ # This file lists the files and directories that should be # added to source dists. Used by bin/export.pike. @@ -13,7 +13,7 @@ /bin /man /refdoc/bin -/refdoc/not_extracted +/refdoc/chapters /refdoc/presentation /refdoc/src_images /refdoc/structure @@ -24,4 +24,3 @@ /refdoc/tags.txt /refdoc/template.xsl /refdoc/xml.txt -/refdoc/.cvsignore -- GitLab