]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
scripts: avoid bashism in xt_geoip_dl
authorDmitry Smirnov <onlyjob@member.fsf.org>
Sat, 1 Jun 2013 12:55:52 +0000 (22:55 +1000)
committerJan Engelhardt <jengelh@inai.de>
Sun, 2 Jun 2013 15:29:12 +0000 (17:29 +0200)
xt_geoip_dl is marked to use /bin/sh. As such, avoid bashisms.

geoip/xt_geoip_dl

index c4a05a219eca94a7f786287fec80e97e869ccee7..50d3806ebe50a21fc102823868a91472d1dbde71 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-rm -f GeoIPv6.csv{,.gz} GeoIPCountryCSV.zip GeoIPCountryWhois.csv;
+rm -f GeoIPv6.csv GeoIPv6.csv.gz GeoIPCountryCSV.zip GeoIPCountryWhois.csv;
 wget \
        http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz \
        http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip;