We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b9f0e commit be5d14dCopy full SHA for be5d14d
uninstall.sh
@@ -385,7 +385,9 @@ do
385
done
386
if [[ "${#paths[@]}" -gt 0 ]]
387
then
388
- args=("${paths[@]}" -type l -lname '*/Cellar/*')
+ # We want expand in subcommand, not here
389
+ # shellcheck disable=SC2016
390
+ args=("${paths[@]}" -type l -exec /bin/sh -c 'case $(ls -l "$1") in *-\>\ */Cellar/*)exit;esac;exit 1' _ {} \;)
391
if [[ -n "${opt_dry_run}" ]]
392
393
args+=(-print)
0 commit comments