Bug 238379 - Tools/script/addport: Fix addport whit multiple directories
Summary: Tools/script/addport: Fix addport whit multiple directories
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Luca Pizzamiglio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-07 10:03 UTC by Luca Pizzamiglio
Modified: 2019-06-10 13:56 UTC (History)
1 user (show)

See Also:


Attachments
The fixing patch (600 bytes, patch)
2019-06-07 10:03 UTC, Luca Pizzamiglio
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Pizzamiglio freebsd_committer 2019-06-07 10:03:42 UTC
Created attachment 204871 [details]
The fixing patch

addport allows to use the option -d with multiple directories, to add more ports in one call.
However there was a bug preventing to add more then 1 ports, failing entering the directory of the second port.

This patch is the fix for this bug.
Comment 1 Mathieu Arnold freebsd_committer 2019-06-07 12:50:12 UTC
$ grep MAINTAINER Tools/scripts/addport
# MAINTAINER=      crees@FreeBSD.org
Comment 2 Chris Rees freebsd_committer 2019-06-07 20:14:00 UTC
It is indeed.  Pleae feel free to commit.

Thanks!
Comment 3 commit-hook freebsd_committer 2019-06-10 13:55:18 UTC
A commit references this bug:

Author: pizzamig
Date: Mon Jun 10 13:54:41 UTC 2019
New revision: 503896
URL: https://svnweb.freebsd.org/changeset/ports/503896

Log:
  Tools/script/addport: Fix usage with multiple directories

  PR:		238379
  Submitted by:	me
  Approved by:	crees@

Changes:
  head/Tools/scripts/addport
Comment 4 Luca Pizzamiglio freebsd_committer 2019-06-10 13:56:04 UTC
Committed. Thanks for the fast review.