Skip to content

Commit

Permalink
Fix for munkireport#3
Browse files Browse the repository at this point in the history
  • Loading branch information
jby committed Oct 10, 2022
1 parent d7b099b commit d66598c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/homebrew_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if [[ -f $brew ]]; then
BREWCONFIG="$BREWCONFIG$(cd /; sudo -HE -u nobody $brew config | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/", "/g' -e 's/: /": "/g')"
BREWCONFIG="$BREWCONFIG\"}]"

DIR=$(dirname $0)
homebrewfile="$DIR/cache/homebrew_info.json"
echo "${BREWCONFIG}" > "${homebrewfile}"

Expand Down

0 comments on commit d66598c

Please sign in to comment.