svn commit: r477561 - head/Tools/scripts

Gerald Pfeifer gerald at pfeifer.com
Mon Aug 20 00:41:37 UTC 2018


On Sun, 19 Aug 2018, Adam Weinberger wrote:
>> +            # See what the port now has for PORTREVISION.
>> +            cd "$1"
>> +            post=$(make -V PORTREVISION)
>> +            cd "$startdir"
> You can just post=$(make -C "$1" -V PORTREVISION), instead of saving
> pwd and cd'ing multiple times.

Ah, of course!  Thank you for the hint, I just applied this change
as follow-up to my commit yesterday (considering a direct follow-up/
improvement/fix).

Gerald


More information about the svn-ports-head mailing list