]> git.pld-linux.org Git - packages/GeoIP-db-Country.git/commitdiff
- use GMT timezone, not to fail on builders having different timezone
authorElan Ruusamäe <glen@delfi.ee>
Sun, 30 Sep 2012 19:12:58 +0000 (22:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 30 Sep 2012 19:12:58 +0000 (22:12 +0300)
GeoIP-db-Country.spec

index d6971232800d5737e522448c0d8acc41472cef29..641bbb0164e32a3bfa5cf4352e4c2a552c30272c 100644 (file)
@@ -38,7 +38,7 @@ cp -p %{SOURCE1} .
 
 gunzip GeoIP.dat.gz
 
-ver=$(stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
+ver=$(TZ=GMT stat -c '%y' GeoIP.dat | awk '{print $1}' | tr - .)
 if [ "$ver" != %{version} ]; then
        exit 1
 fi
This page took 0.033431 seconds and 4 git commands to generate.