X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=static.sh;h=ec860c6efb3a8a10158a1233ad7fdebcd5ce2eda;hp=e8de7d16dc727bdaf18170f59cf261862173b6dd;hb=b3455673aa27e118f55b91fe69a4b07c42dbe3a7;hpb=0bcf2131288e43e7c2ec533f1918dfd4235309aa 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