12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #!/usr/bin/env bash
- [ "x${DEBUG+set}" = 'xset' ] && set -v
- set -u -e
- printf "Downloading flashrom\n"
- rm -Rf "flashrom/"
- git clone https://review.coreboot.org/flashrom.git
- if [ ! -d "flashrom" ]; then
- printf "flashrom not downloaded; check network connection?\n\n"
- exit 1
- fi
- (
- cd "flashrom/"
- git reset --hard v1.2
- )
- printf "\n\n"
|