File: install-upstream-git.sh

package info (click to toggle)
datalad 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,148 kB
  • sloc: python: 69,414; sh: 1,521; makefile: 220
file content (11 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

target_dir="$PWD/git-src"
git clone https://github.com/git/git "$target_dir"
(
    cd "$target_dir"
    git checkout origin/master
    make --jobs 2
)
export PATH="$target_dir/bin-wrappers/:$PATH"
git version