Skip to content

Commit

Permalink
Update brew-export
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkmmr69420 authored Apr 11, 2024
1 parent 7805a18 commit ef8542c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/brew-export
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ binpath=/home/linuxbrew/.linuxbrew/bin
while getopts ":vi:o:" opt; do
case ${opt} in
s )
brewpath=/home/linuxbrew/.linuxbrew/sbin
binpath=/home/linuxbrew/.linuxbrew/sbin
;;
R )
r )
root=true
;;
\? )
Expand All @@ -27,7 +27,7 @@ shift $((OPTIND -1))
bin=$1

if [ "$root" = "true" ]; then
distrobox-export --bin $brewpath/$bin --export-path $HOME/.local/share/clinuxbrew/exports/bin
distrobox-export --bin $binpath/$bin --export-path $HOME/.local/share/clinuxbrew/exports/bin
else
distrobox-export --bin $brewpath/$bin --export-path $HOME/.local/share/clinuxbrew/exports/bin
distrobox-export --bin $binpath/$bin --export-path $HOME/.local/share/clinuxbrew/exports/bin
fi

0 comments on commit ef8542c

Please sign in to comment.