~ilya-yanok/ubuntu/precise/grub2/fix-for-948716

« back to all changes in this revision

Viewing changes to util/i386/pc/grub-install.in

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2009-07-25 19:00:53 UTC
  • mfrom: (1.6.3 upstream)
  • mto: (17.4.13 sid)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20090725190053-uv3lm6ya3zxs77ep
ImportĀ upstreamĀ versionĀ 1.96+20090725

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
platform=@platform@
32
32
pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
33
33
 
34
 
# for make_system_path_relative_to_its_root()
35
 
. ${libdir}/grub/grub-mkconfig_lib
36
 
 
37
34
grub_setup=${sbindir}/`echo grub-setup | sed ${transform}`
38
35
if [ "${target_cpu}-${platform}" = "i386-pc" ] ; then
39
36
    grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}`
122
119
        recheck=yes ;;
123
120
    --disk-module=*)
124
121
        if [ "${target_cpu}-${platform}" = "i386-pc" ] ; then
125
 
           disk_module=`echo "$option" | sed 's/--disk-module=//'`
 
122
           disk_module=`echo "$option" | sed 's/--disk-module//'`
126
123
        fi ;;
127
124
    # This is an undocumented feature...
128
125
    --debug)
144
141
    esac
145
142
done
146
143
 
 
144
# for make_system_path_relative_to_its_root()
 
145
. ${libdir}/grub/grub-mkconfig_lib
 
146
 
147
147
if test "x$install_device" = x; then
148
148
    echo "install_device not specified." 1>&2
149
149
    usage