logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

fetch-git.sh (231B)


  1. set -e
  2. if [ "$#" != 1 ] ; then
  3. echo 'usage: fetch-git.sh dir' >&2
  4. exit 2
  5. fi
  6. cd "$1"
  7. git submodule update --init --checkout src
  8. if [ -d patch ] ; then
  9. git -C src am --keep-non-patch --whitespace=nowarn "$PWD"/patch/*.patch
  10. fi