diff options
| author | Teddy Wing | 2015-12-24 16:14:28 -0800 |
|---|---|---|
| committer | Teddy Wing | 2015-12-24 16:15:13 -0800 |
| commit | c59baae4c7b7ce3136c10078605f37de9494ad56 (patch) | |
| tree | 2b016019724798cb4fd06320624cd3bfb50a2102 | |
| parent | 00fed24a5e42a8c12c38b22241c9166b52a65117 (diff) | |
| download | RoboFont-Equalize-Sidebearings-Key-c59baae4c7b7ce3136c10078605f37de9494ad56.tar.bz2 | |
build.sh: Update `timeStamp` on build
When building a new bundle, update the `timeStamp` key in `info.plist`
to correspond to the current time. Was hoping to retain the decimal
value in the timestamp, but for some reason only the integer part stays
after it gets set. Oh well, I don't care enough to fiddle with that.
| -rw-r--r-- | build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,3 +11,6 @@ cp "${current_dir}"/*.py "${base_dir}/lib" # Copy Info.plist into extension bundle cp "${current_dir}"/info.plist "${base_dir}" + +# Update timestamp in info.plist +/usr/libexec/PlistBuddy -c "Set timeStamp $(python -c 'import time; print(time.time())')" "${base_dir}"/info.plist |
