Page MenuHomeFreeBSD

mergemaster: better defaults for SOURCEDIR
ClosedPublic

Authored by imp on Aug 14 2018, 2:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 12:35 AM
Unknown Object (File)
Oct 9 2024, 8:50 AM
Unknown Object (File)
Oct 3 2024, 8:11 AM
Unknown Object (File)
Oct 3 2024, 8:11 AM
Unknown Object (File)
Oct 3 2024, 8:11 AM
Unknown Object (File)
Oct 3 2024, 7:55 AM
Unknown Object (File)
Oct 2 2024, 10:54 AM
Unknown Object (File)
Oct 2 2024, 7:19 AM

Details

Summary

mergemaster: better defaults for SOURCEDIR

If we can't find a Makefile.inc1 in the specified / default SOURCEDIR, and
there's a Makefile.inc1 in the current directory, offer the user the choice
of using . for SOURCEDIR.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18793
Build 18459: arc lint + arc unit

Event Timeline

vangyzen added a subscriber: vangyzen.
vangyzen added inline comments.
usr.sbin/mergemaster/mergemaster.sh
490

I don't often see "default" used as a verb, but it works.

This revision is now accepted and ready to land.Aug 14 2018, 3:03 PM
asomers added a subscriber: asomers.

I use mergemaster the same way. Apart from the "default" word choice, this revision LGTM.

usr.sbin/mergemaster/mergemaster.sh
490

It seems inappropriate to describe a setting that only applies to a single invocation as the "default".

usr.sbin/mergemaster/mergemaster.sh
490

Blah blah blah defaults to blah uses default as a verb. I see it all the time. :)
However 'to set SOURCEDIR to' likely is better wording since it matches what the program is doing

This revision now requires review to proceed.Aug 14 2018, 3:33 PM
This revision is now accepted and ready to land.Aug 14 2018, 3:37 PM
imp marked 3 inline comments as done.Aug 14 2018, 3:38 PM

I'll vote "no objection." (The issue doesn't really affect the bulk of my use,)

allanjude added a subscriber: allanjude.

+1 this patch, has caught me out a number of times.