[cmor] 40/190: not creating directory when caling this and CMOR_CREATE_SUBDIRECTORIES is set off, now with the correct value for the flag...

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Jul 21 12:54:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository cmor.

commit 86d7d5fb17a326d937cd151a87bff6424bd87835
Author: Charles Doutriaux <doutriaux1 at llnl.gov>
Date:   Thu Aug 19 15:40:04 2010 -0700

    not creating directory when caling this and CMOR_CREATE_SUBDIRECTORIES is set off, now with the correct value for the flag...
---
 Src/cmor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Src/cmor.c b/Src/cmor.c
index 43c9fe4..3a47fd5 100644
--- a/Src/cmor.c
+++ b/Src/cmor.c
@@ -3223,7 +3223,7 @@ int cmor_create_output_path(int var_id,char *outpath)
   for (i=0;i<nurls;i++) {
     if (strncmp(outpath,urls[i],strlen(urls[i]))==0) createdirs=0;
   }
-  if (CMOR_CREATE_SUBDIRECTORIES == 1) createdirs=0;
+  if (CMOR_CREATE_SUBDIRECTORIES == 0) createdirs=0;
   /* activity */
   strncpytrim(tmp,cmor_tables[cmor_vars[var_id].ref_table_id].project_id,CMOR_MAX_STRING);
   /* make sure you replace spaces with "_" */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cmor.git



More information about the debian-science-commits mailing list