forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate.sh
More file actions
executable file
·39 lines (34 loc) · 767 Bytes
/
update.sh
File metadata and controls
executable file
·39 lines (34 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="netcdf"
readonly ownership="netcdf Upstream <kwrobot@kitware.com>"
readonly subtree="ThirdParty/$name/vtk$name"
readonly repo="https://gitlab.kitware.com/third-party/netcdf.git"
readonly tag="for/vtk-old"
readonly paths="
include/*.h
include/netcdf_meta.h.in
libdispatch/*.c
libdispatch/*.h
liblib/nc_initialize.c
libsrc/*.h
libsrc/*.c
libsrc4/*.c
.gitattributes
CMakeLists.vtk.txt
config.h.in
COPYRIGHT
README.md
README.kitware.md
vtk_netcdf_config.h.in
"
extract_source () {
git_archive
pushd "$extractdir/$name-reduced"
sed -i -e '/#line/d' libsrc/attr.c libsrc/ncx.c libsrc/putget.c
mv -v CMakeLists.vtk.txt CMakeLists.txt
popd
}
. "${BASH_SOURCE%/*}/../update-common.sh"