summaryrefslogtreecommitdiff
path: root/manualPorts/avrdude/lastVersion.sh
blob: 3d6d94daeee5da4ae486faf2293dcece0ee367c3 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl 'http://download.savannah.gnu.org/releases/avrdude/' 2> /dev/null | \
  tr '"' '\n' | \
  grep '^avrdude-[0-9.]\+\.tar\.gz$' | \
  sed 's|^avrdude-\([0-9.]\+\)\.tar\.gz$|\1|' | \
  sort -V | \
  tail -n1