aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-03-25 05:33:36 +0800
committermarino <marino@FreeBSD.org>2016-03-25 05:33:36 +0800
commit7ed41d9d94ede8a538190845d9c57dc8c2500311 (patch)
tree405147e348a81bde7fd87da369321318f2a3ec1c /Tools
parentdc071fc3ff2539fad0ff0f0c0c8ec2de29f002b5 (diff)
downloadfreebsd-ports-gnome-7ed41d9d94ede8a538190845d9c57dc8c2500311.tar.gz
freebsd-ports-gnome-7ed41d9d94ede8a538190845d9c57dc8c2500311.tar.zst
freebsd-ports-gnome-7ed41d9d94ede8a538190845d9c57dc8c2500311.zip
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.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/redundant-opt-files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/redundant-opt-files.sh b/Tools/scripts/redundant-opt-files.sh
index 505afc62db02..b9e180e18e9f 100755
--- a/Tools/scripts/redundant-opt-files.sh
+++ b/Tools/scripts/redundant-opt-files.sh
@@ -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} \