mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
Two small bug fixes
=================== 1. When I changed how the MOVED file was treated in version 1.19 I accidentally typed a literal /usr/ports/. Change that to the variable for PORTSDIR as it should be. [1] 2. When using the --show-work feature and the port has no dependencies, exit immediately instead of recursing. Submitted by: Jason C. Wells <jcw@highperformance.net> [1]
This commit is contained in:
parent
382c030511
commit
4611f3a852
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201708
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Local version: 1.190
|
||||
# Local version: 1.191
|
||||
# $FreeBSD$
|
||||
|
||||
# Copyright (c) 2005-2007 Douglas Barton, All rights reserved
|
||||
@ -513,7 +513,7 @@ find_moved_port () {
|
||||
# To avoid having each word of the reason treated separately
|
||||
IFS='
|
||||
'
|
||||
for l in `grep "^$sf" /usr/ports/MOVED`; do
|
||||
for l in `grep "^$sf" $pd/MOVED`; do
|
||||
case "$l" in
|
||||
${sf}\|\|*) fail "The $sf port has been deleted: ${l##*|}"
|
||||
;;
|
||||
@ -571,6 +571,7 @@ dependency_check () {
|
||||
|
||||
if [ -z "$dep_port_list" ]; then
|
||||
echo "===>>> No dependencies for $portdir"
|
||||
[ -n "$SHOW_WORK" ] && safe_exit
|
||||
return 0
|
||||
else
|
||||
if [ -n "$CONFIG_ONLY" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user