mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
change file permissions for memio and mmapio
This commit is contained in:
parent
0a2f05a10a
commit
60b3f3b6f3
13
cf
13
cf
@ -1,13 +1,14 @@
|
||||
#!/bin/bash
|
||||
#X="-x"
|
||||
#NB=1
|
||||
#STD=1
|
||||
|
||||
if test $# != 0 ; then
|
||||
cmds=$@
|
||||
fi
|
||||
|
||||
#HDF5=1
|
||||
#DAP=1
|
||||
HDF5=1
|
||||
DAP=1
|
||||
#CDMR=1
|
||||
#RPC=1
|
||||
#PGI=1
|
||||
@ -32,8 +33,12 @@ CC=gcc
|
||||
fi
|
||||
|
||||
# Default cases
|
||||
PREFIX="/tmp/install/${HOST}"
|
||||
stddir="/share/ed/local/${HOST}"
|
||||
if test "x$STD" != x ; then
|
||||
PREFIX="/share/ed/local/${HOST}"
|
||||
else
|
||||
PREFIX="/tmp/install/${HOST}"
|
||||
fi
|
||||
|
||||
MALLOC_CHECK=""
|
||||
|
||||
@ -135,7 +140,7 @@ FLAGS="$FLAGS --enable-logging"
|
||||
#FLAGS="$FLAGS --disable-diskless"
|
||||
#FLAGS="$FLAGS --enable-mmap"
|
||||
|
||||
FLAGS="$FLAGS --disable-shared"
|
||||
#FLAGS="$FLAGS --disable-shared"
|
||||
#FLAGS="$FLAGS --enable-shared"
|
||||
|
||||
if test "x$HDF5" = "x" ; then
|
||||
|
@ -35,8 +35,7 @@
|
||||
#endif
|
||||
|
||||
/* Define the mode flags for create: let umask rule */
|
||||
#define OPENMODE 0777
|
||||
#define OPENANYMODE 0777
|
||||
#define OPENMODE 0666
|
||||
|
||||
#include "ncio.h"
|
||||
#include "fbits.h"
|
||||
|
@ -57,8 +57,7 @@
|
||||
#endif
|
||||
|
||||
/* Define the mode flags for create: let umask decide */
|
||||
#define OPENMODE 0777
|
||||
#define OPENANYMODE 0777
|
||||
#define OPENMODE 0666
|
||||
|
||||
#include "ncio.h"
|
||||
#include "fbits.h"
|
||||
|
Loading…
Reference in New Issue
Block a user