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 9f38d5dCopy full SHA for 9f38d5d
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 "{}") in *-\>\ */Cellar/*)exit;esac;exit 1')
391
if [[ -n "${opt_dry_run}" ]]
392
393
args+=(-print)
0 commit comments