blob: c8728eadd2851688b65c2a90b45ea42863c0456d [file] [log] [blame]
#!/usr/bin/env bash
set -e
cd "${0%/*}"
git clone https://git.savannah.gnu.org/git/config.git
sha="$(cd config; git log -1 --pretty=tformat:%H)"
sed -r -i -e "\$s/.*/${sha}/" README.buildroot
cp config/config.* .
for p in $(ls patches/*.patch 2>/dev/null); do
patch -p1 < "${p}"
done
rm -rf config