From 81459b0112e88c104eaa7fc375bfc92644ca53b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 21 Oct 1997 19:37:42 -0700 Subject: [PATCH] modified to handle modules in lib directory as well Rev: bin/export.pike:1.9 --- bin/export.pike | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/export.pike b/bin/export.pike index 24c5780b0f..5482acd60b 100755 --- a/bin/export.pike +++ b/bin/export.pike @@ -1,6 +1,6 @@ #!/usr/local/bin/pike -/* $Id: export.pike,v 1.8 1997/10/14 03:08:46 hubbe Exp $ */ +/* $Id: export.pike,v 1.9 1997/10/22 02:37:42 hubbe Exp $ */ #include <simulate.h> @@ -22,6 +22,10 @@ string *get_files(string path) if(path==vpath+"/src/modules" && except_modules[tmp]) continue; + if(search(path,vpath+"/lib/modules")==0 && + (except_modules[tmp] || except_modules[tmp - ".pmod"])) + continue; + tmp=path+"/"+tmp; if(file_size(tmp)==-2) -- GitLab