| 1 | NOW=`date "+%a %Y-%m-%d %T"` |
| 2 | sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH |
portalzine / Codekit - Timestamp Hook
Last active 3 months ago
Add current timestamp to files, when compiling
Revision 8cd54f9004b82047fb2613b8fc0de6e8ab90eef2
Last active 3 months ago
Add current timestamp to files, when compiling
Revision 8cd54f9004b82047fb2613b8fc0de6e8ab90eef2
| 1 | NOW=`date "+%a %Y-%m-%d %T"` |
| 2 | sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH |