raspberrypi-rpiboot/update_git.sh
2020-05-20 18:42:45 +00:00

10 lines
264 B
Bash

#!/bin/bash
git clone --no-single-branch https://github.com/raspberrypi/usbboot.git
pushd usbboot
git archive --prefix raspberrypi-rpiboot-$(git log --oneline|wc -l)/ -o ../raspberrypi-rpiboot-$(git log --oneline|wc -l).tar.gz origin/master
popd
rm -rf usbboot