mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Workaround for the fact that 4/ports is no longer populated on pointyhat.
This commit is contained in:
parent
63b00b65ff
commit
9d6f970760
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186941
@ -61,7 +61,12 @@ write_row () {
|
||||
fi
|
||||
# work around the fact that 5-exp is really 6-exp-prime
|
||||
if [ ! -f $indexfile ]; then
|
||||
indexfile=$directory/ports/`cd $directory/ports&&ls INDEX* | head -1`
|
||||
if [ -d $directory/ports ]; then
|
||||
indexfile=$directory/ports/`cd $directory/ports&&ls INDEX* | head -1`
|
||||
else
|
||||
# work around the fact that 4 is EOL and thus has no ports/ directory
|
||||
indexfile=$directory/logs/`cd $directory/logs&&ls INDEX* | head -1`
|
||||
fi
|
||||
fi
|
||||
|
||||
# column: date of CVS checkout
|
||||
|
Loading…
Reference in New Issue
Block a user