redundant-opt-files script: Fix deleted port output

The last change was flawed; for deleted ports it was writing out the
origin, but it should be writing out the appropriate ports cache
database directory.
This commit is contained in:
John Marino 2016-03-24 21:33:36 +00:00
parent c80bd713b0
commit 4b4fde4cf6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411812

View file

@ -40,7 +40,7 @@ identical_options() {
local origin=$(catport $1)
if [ ! -d ${origin} ]; then
# origin no longer exists, list it anyway without testing further
echo ${origin}
echo $1
return
fi
local selected_pristine=$(/usr/bin/make -C ${origin} \