diff --git a/scripts/rebuild-rhel-kernel-rpm b/scripts/rebuild-rhel-kernel-rpm index f9882174f..13604968a 100755 --- a/scripts/rebuild-rhel-kernel-rpm +++ b/scripts/rebuild-rhel-kernel-rpm @@ -93,7 +93,7 @@ esac function log { echo - echo "$@" + printf "$@" echo } @@ -325,5 +325,4 @@ cd ${rpmbuild_dir}/SPECS } 2>&1 | tee build.log -log "Ready. You can now install the freshly built kernel RPM as follows:\n"\ - "sudo rpm -ivh --force $HOME/rpmbuild/RPMS/${arch}/kernel-*.rpm" +log "Ready. You can now install the freshly built kernel RPM as follows:\nsudo rpm -ivh --force $HOME/rpmbuild/RPMS/${arch}/kernel-*.rpm"