From: Marius Gavrilescu Date: Sat, 14 Mar 2015 14:09:53 +0000 (+0200) Subject: Regenerate sprite when logos change not when js changes X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=3d9a4393f81ff564d41784ca42dc47210c79984f;p=gruntmaster-page.git Regenerate sprite when logos change not when js changes --- diff --git a/make_static.PL b/make_static.PL index 6ea5eb1..955502e 100644 --- a/make_static.PL +++ b/make_static.PL @@ -75,7 +75,7 @@ for () { } my $sprite_mtime = -M 'static/logos.png' // 0; -for () { +for () { if (!$sprite_mtime || $sprite_mtime > -M) { make_sprite; last