Skip to content

Commit

Permalink
scripts: create kernel configuration upgrade script
Browse files Browse the repository at this point in the history
Create a script for automating kernel version changes.  This
generates a pair of commits which cause history to remain attached
to all versioned configuration files.

Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
  • Loading branch information
ehem committed Mar 19, 2024
1 parent 212d0ca commit 8e6a89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kernel_upgrade.pl
Expand Up @@ -274,7 +274,7 @@ ()

foreach my $name (@$list) {
next if($git->ls($start, "$name$to"));
my $new=$git->ls($start, "$name$from");
my $new=$git->ls('', "$name$from");
$git->putcmd("M $new->[0] $new->[1] $name$to");
$git->putcmd("D $name$from");
}
Expand Down

0 comments on commit 8e6a89d

Please sign in to comment.