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
This commit is contained in:
Bart Van Assche
2013-12-21 20:06:52 +00:00
parent 3d8f34c50a
commit d94f6b40e5

View File

@@ -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"