File: UpdateFromUpstream.sh

package info (click to toggle)
insighttoolkit4 4.13.3withdata-dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 489,260 kB
  • sloc: cpp: 557,342; ansic: 146,850; fortran: 34,788; python: 16,572; sh: 2,187; lisp: 2,070; tcl: 993; java: 362; perl: 200; makefile: 129; csh: 81; pascal: 69; xml: 19; ruby: 10
file content (34 lines) | stat: -rwxr-xr-x 771 bytes parent folder | download | duplicates (5)
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
#!/usr/bin/env bash

# We can optionally pass in the desired repository and branch. For example,
#
# ./Modules/ThirdParty/MetaIO/UpdateFromUpstream.sh \
#   https://github.com/Kitware/MetaIO.git \
#   pull/30/head:large-uncompression

thirdparty_module_name='MetaIO'

set -x
if [[ $# -ge 1 ]]; then
  upstream_git_url=$1
else
  upstream_git_url='https://github.com/Kitware/MetaIO.git'
fi
if [[ $# -ge 2 ]]; then
  upstream_git_branch=$2
else
  upstream_git_branch='master'
fi

snapshot_author_name='MetaIO Maintainers'
snapshot_author_email='metaio@itk.org'

snapshot_redact_cmd=''
snapshot_relative_path='src/MetaIO'
snapshot_paths='
  src
  License.txt
  '

source "${BASH_SOURCE%/*}/../../../Utilities/Maintenance/UpdateThirdPartyFromUpstream.sh"
update_from_upstream