mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ktest: Fix post install command
The command to run post install (for those that want initrds) was broken. Instead of doing a substitution for the $KERNEL_VERSION variable. It was replacing the entire command with nothing. Signed-off-by: Steven Rostedt <[email protected]>
This commit is contained in:
parent
61c4f2c81c
commit
ca6a21f874
1 changed files with 1 additions and 1 deletions
|
|
@ -907,7 +907,7 @@ sub install {
|
|||
return if (!defined($post_install));
|
||||
|
||||
my $cp_post_install = $post_install;
|
||||
$cp_post_install = s/\$KERNEL_VERSION/$version/g;
|
||||
$cp_post_install =~ s/\$KERNEL_VERSION/$version/g;
|
||||
run_command "$cp_post_install" or
|
||||
dodie "Failed to run post install";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue