Skip to content

Commit

Permalink
Make sure "make download" downloads to the right locations (#265)
Browse files Browse the repository at this point in the history
With existing files in place at least recent wget versions download to
files named oui.txt.1 and so on.

Let's force wget to write to the files we want.
  • Loading branch information
jstasiak authored Sep 14, 2023
1 parent 78a1a5b commit 8ad986e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ doc:

download:
@echo 'downloading latest IEEE data'
cd netaddr/eui/ && wget http://standards-oui.ieee.org/oui/oui.txt
cd netaddr/eui/ && wget http://standards-oui.ieee.org/iab/iab.txt
cd netaddr/eui/ && wget http://standards-oui.ieee.org/oui/oui.txt -O oui.txt
cd netaddr/eui/ && wget http://standards-oui.ieee.org/iab/iab.txt -O iab.txt
@echo 'rebuilding IEEE data file indices'
python netaddr/eui/ieee.py
@echo 'downloading latest IANA data'
cd netaddr/ip/ && wget https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xml
cd netaddr/ip/ && wget https://www.iana.org/assignments/ipv6-address-space/ipv6-address-space.xml
cd netaddr/ip/ && wget https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xml
cd netaddr/ip/ && wget https://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.xml
cd netaddr/ip/ && wget https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xml -O ipv4-address-space.xml
cd netaddr/ip/ && wget https://www.iana.org/assignments/ipv6-address-space/ipv6-address-space.xml -O ipv6-address-space.xml
cd netaddr/ip/ && wget https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xml -O multicast-addresses.xml
cd netaddr/ip/ && wget https://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.xml -O ipv6-unicast-address-assignments.xml

register:
@echo 'releasing netaddr'
Expand Down

0 comments on commit 8ad986e

Please sign in to comment.