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

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