Skip to content

Commit

Permalink
Tools/scripts/bump_revision.pl: default on -l instead of -g
Browse files Browse the repository at this point in the history
-g option means also bump portevision of indirect dependencies,
this is not required by default since at least FreeBSD 11 when we
stopped recursively copying DT_NEEDED
  • Loading branch information
bapt committed May 11, 2023
1 parent d9b8755 commit 14e0241
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tools/scripts/bump_revision.pl
Expand Up @@ -37,8 +37,8 @@ sub usage {
Usage: $0 [options] [<category>/]<portname>
Options:
-l - shaLlow, only bump ports with direct dependencies.
-g - Grandchildren, also bump for indirect dependencies (default).
-l - shaLlow, only bump ports with direct dependencies. (default).
-g - Grandchildren, also bump for indirect dependencies.
-n - Check only (dry-run), do not change Makefiles.
-f - No tmpdir, just use the directory where INDEX resides.
-i <filename> - Use this for INDEX name. Defaults to \${PORTSDIR}/INDEX-n,
Expand Down Expand Up @@ -125,8 +125,8 @@ sub bumpMakefile {
die "Options -g and -l given, which are mutually exclusive. Pick either.";
}
if (not $opt_l and not $opt_g) {
warn "Neither -g nor -l given. Defaulting to -g";
$opt_g = 1;
warn "Neither -g nor -l given. Defaulting to -l";
$opt_l = 1;
}
$portsdir = $opt_p ? $opt_p : '/usr/ports';

Expand Down

0 comments on commit 14e0241

Please sign in to comment.