Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,9 @@ do
done
if [[ "${#paths[@]}" -gt 0 ]]
then
args=("${paths[@]}" -type l -lname '*/Cellar/*')
# We want expand in subcommand, not here
# shellcheck disable=SC2016
args=("${paths[@]}" -type l -exec /bin/sh -c 'case $(ls -l "$1") in *-\>\ */Cellar/*)exit;esac;exit 1' _ {} \;)
if [[ -n "${opt_dry_run}" ]]
then
args+=(-print)
Expand Down
Loading