From: Elan Ruusamäe Date: Fri, 8 Dec 2006 12:05:07 +0000 (+0000) Subject: - use quotes in shell for the sake of clarity X-Git-Tag: auto/th/bootchart-0_9-1_9~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbootchart.git;a=commitdiff_plain;h=d915e7a9ccc75afa7e0c1b996873bdf4b7a57b42;hp=686bcec454cf80cfc63440370fdb770a030ac7fe - use quotes in shell for the sake of clarity Changed files: bootchart.spec -> 1.9 --- diff --git a/bootchart.spec b/bootchart.spec index 34c8be9..2df9323 100644 --- a/bootchart.spec +++ b/bootchart.spec @@ -21,7 +21,7 @@ Requires: jpackage-utils >= 0:1.5 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define boottitle "Bootchart logging" +%define boottitle Bootchart logging %description A tool for performance analysis and visualization of the GNU/Linux @@ -118,8 +118,8 @@ if [ -x /sbin/grubby ]; then init=$(echo "$info" |sed -n '/^args=.*init=/{s/^args=.*init=//;s/"$//;p;q;}') [ -n "$initrd" ] && initrd="--initrd=$initrd" [ -n "$init" ] && init="bootchart_init=$init" - /sbin/grubby --remove-kernel TITLE=%{boottitle} - /sbin/grubby --copy-default --add-kernel=$kernel $initrd --args="init=/sbin/bootchartd $init" --title=%{boottitle} || : + /sbin/grubby --remove-kernel TITLE='%{boottitle}' + /sbin/grubby --copy-default --add-kernel=$kernel $initrd --args="init=/sbin/bootchartd $init" --title='%{boottitle}' || : else %banner -e %{name}-logger <<-EOF You should adjust your bootloader to boot with @@ -131,7 +131,7 @@ fi if [ "$1" = 0 ]; then # Remove the grub/lilo entry if [ -x /sbin/grubby ]; then - /sbin/grubby --remove-kernel TITLE=%{boottitle} || : + /sbin/grubby --remove-kernel TITLE='%{boottitle}' || : fi fi