Skip to content

Commit

Permalink
Adding datetime keys to sw-info
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiotocalini committed Jun 18, 2018
1 parent 7335532 commit c1a0cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custix/scripts/sw-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ refresh_cache() {
datetime+="\"${idx}\": \"`echo "${dtctl}" | grep -E \"${content[${idx}]}\" | awk -F': ' '{print $2}'`\","
done
datetime="${datetime%?} }"
json_raw=`echo "${json_raw:-{}}" | jq ".datetime=${dt_data}" 2>/dev/null`
json_raw=`echo "${json_raw:-{}}" | jq ".datetime=${datetime}" 2>/dev/null`
fi
json_keys=(
'family'
Expand Down

0 comments on commit c1a0cf7

Please sign in to comment.