diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-03-25 22:42:53 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-20 09:11:58 -0400 |
commit | ca6a21f874301d0eb133819a60731c0f39967311 (patch) | |
tree | 2cef94665e92dfb0d5882a7668561d76d2fce688 /tools/testing | |
parent | 61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf (diff) | |
download | kernel_samsung_espresso10-ca6a21f874301d0eb133819a60731c0f39967311.zip kernel_samsung_espresso10-ca6a21f874301d0eb133819a60731c0f39967311.tar.gz kernel_samsung_espresso10-ca6a21f874301d0eb133819a60731c0f39967311.tar.bz2 |
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 <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing')
-rwxr-xr-x | tools/testing/ktest/ktest.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 8ce792e..7301d03 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -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"; } |