Blame SOURCES/os-prober-remove-basename.patch

c62eab
diff -up os-prober-1.57/common.sh.remove-basename os-prober-1.57/common.sh
c62eab
--- os-prober-1.57/common.sh.remove-basename	2013-01-23 01:06:50.023992389 +0330
c62eab
+++ os-prober-1.57/common.sh	2013-01-23 02:01:09.435244141 +0330
c62eab
@@ -57,7 +57,7 @@ progname=
c62eab
 cache_progname() {
c62eab
   case $progname in
c62eab
     '')
c62eab
-      progname="$(basename "$0")"
c62eab
+      progname="${0##*/}"
c62eab
       ;;
c62eab
   esac
c62eab
 }
c62eab
diff -up os-prober-1.57/linux-boot-probes/mounted/powerpc/40yaboot.remove-basename os-prober-1.57/linux-boot-probes/mounted/powerpc/40yaboot
c62eab
--- os-prober-1.57/linux-boot-probes/mounted/powerpc/40yaboot.remove-basename	2013-01-23 02:04:03.855063593 +0330
c62eab
+++ os-prober-1.57/linux-boot-probes/mounted/powerpc/40yaboot	2013-01-23 02:02:34.876175982 +0330
c62eab
@@ -27,7 +27,7 @@ recordstanza () {
c62eab
 		fi
c62eab
 
c62eab
 		if [ -z "$title" ]; then
c62eab
-			title="$(basename "$kernel")"
c62eab
+			title="${kernel##*/}"
c62eab
 		fi
c62eab
 		if [ "$read_only" ]; then
c62eab
 			parameters="ro $parameters"