From d94f6b40e58ceaa00431778bbdb9c30358ba9e31 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 21 Dec 2013 20:06:52 +0000 Subject: [PATCH] scripts/rebuild-rhel-kernel-rpm, log(): Interpret control characters correctly git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5170 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/rebuild-rhel-kernel-rpm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"