Skip to content
Snippets Groups Projects
Commit 428a4e67 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

environment variable: PIKE_EXPORT_CVS_DIRS implemented

Rev: bin/export.pike:1.29
parent e96547ec
No related branches found
No related tags found
No related merge requests found
#!/usr/local/bin/pike #!/usr/local/bin/pike
/* $Id: export.pike,v 1.28 1999/09/08 20:14:54 hubbe Exp $ */ /* $Id: export.pike,v 1.29 1999/09/10 00:08:43 hubbe Exp $ */
#include <simulate.h> #include <simulate.h>
import Stdio; import Stdio;
...@@ -22,7 +22,10 @@ string *get_files(string path) ...@@ -22,7 +22,10 @@ string *get_files(string path)
{ {
string *files,tmp,*ret; string *files,tmp,*ret;
files=get_dir(path); files=get_dir(path);
files-=({"CVS","RCS",".cvsignore"});
if(!getenv("PIKE_EXPORT_CVS_DIRS"))
files-=({"CVS","RCS",".cvsignore"});
ret=({}); ret=({});
foreach(files,tmp) foreach(files,tmp)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment