raspberrypi-rpiboot/update_git.sh

10 lines
264 B
Bash
Raw Normal View History

#!/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