portalzine revised this gist 7 months ago. Go to revision
1 file changed, 0 insertions, 0 deletions
gistfile1.txt renamed to codekit_timestamp.sh
File renamed without changes
portalzine revised this gist 7 months ago. Go to revision
1 file changed, 2 insertions
gistfile1.txt(file created)
| @@ -0,0 +1,2 @@ | |||
| 1 | + | NOW=`date "+%a %Y-%m-%d %T"` | |
| 2 | + | sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH | |