X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;ds=sidebyside;f=static.sh;h=ec860c6efb3a8a10158a1233ad7fdebcd5ce2eda;hb=bb8ddd1d7e31ccff9f1ae0d2abb124910a8ad126;hp=e8de7d16dc727bdaf18170f59cf261862173b6dd;hpb=0678b538a6d0f56a629a8e4dd9ef6e7665b14208;p=cgilite diff --git a/static.sh b/static.sh index e8de7d1..ec860c6 100755 --- a/static.sh +++ b/static.sh @@ -19,7 +19,7 @@ unset length date file suffix -file="$_EXEC/static/$STATIC" +file="$1" date="$(stat -c %Y "$file")" # allow overriding magic file recognition