Files
oasis-linux-mirror/scripts/fetch-git.rc
Michael Forney 5915e9ccc6 fetch-*.rc does not need to be executable
We always call it with rc explicitly.
2017-09-01 17:59:36 -07:00

16 lines
223 B
Plaintext

flag e +
if(! ~ $#* 1) {
echo 'usage: fetch-git.rc dir' >[1=2]
exit 2
}
cd $1
git submodule update --init --checkout src
if([ -d patch ]) {
patches=patch/*
git -C src am '--whitespace=nowarn' ../$patches
}
status=()