File: git-setup-sdl2-work.sh

package info (click to toggle)
dosbox-x 2025.12.01%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,224 kB
  • sloc: cpp: 339,768; ansic: 165,257; sh: 1,455; makefile: 963; perl: 385; python: 106; asm: 57
file content (7 lines) | stat: -rwxr-xr-x 302 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/usr/bin/env bash
url="https://github.com/wcp16/dosbox-xe.git"
branch="dosbox-sdl2-upstream"
git remote add "${branch}" "${url}" || git remote set-url "${branch}" "${url}" || exit 1
git fetch "${branch}" || exit 1
git checkout -t "remotes/origin/master-sdl2" || git checkout "master-sdl2" || exit 1