Skip to content

Commit

Permalink
fix typo in export
Browse files Browse the repository at this point in the history
  • Loading branch information
swissbuechi committed Oct 26, 2023
1 parent 712d8f5 commit 0d0187e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoupdate/start.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def start(interval:, args:)
set_env << "\nexport HOMEBREW_CASK_OPTS=#{env_cask}" if env_cask

if args.sudo?
set_env << "\nextport SUDO_ASKPASS=#{Autoupdate::Core.location/"brew_autoupdate_sudo_gui"}"
set_env << "\nexport SUDO_ASKPASS=#{Autoupdate::Core.location/"brew_autoupdate_sudo_gui"}"
sudo_gui_script_contents = <<~EOS
#!/bin/sh
export PATH='#{env_path}'
Expand Down

0 comments on commit 0d0187e

Please sign in to comment.