* util/grub-mknetdir.in (grub_prefix): Removed.

(subdir): Use @bootdirname@ and @grubdirname@.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-27 11:08:17 +01:00
parent 2311c5caa9
commit 6a3131243a
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mknetdir.in (grub_prefix): Removed.
(subdir): Use @bootdirname@ and @grubdirname@.
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
Replace PACKAGE_TARNAME with PACKAGE in pkglibdir and pkgdatadir. Replace PACKAGE_TARNAME with PACKAGE in pkglibdir and pkgdatadir.

View file

@ -38,14 +38,13 @@ self=`basename $0`
grub_mkimage="${bindir}/`echo grub-mkimage | sed ${transform}`" grub_mkimage="${bindir}/`echo grub-mkimage | sed ${transform}`"
rootdir=/srv/tftp rootdir=/srv/tftp
grub_prefix=`echo /boot/grub | sed ${transform}`
modules= modules=
no_floppy= no_floppy=
recheck=no recheck=no
debug=no debug=no
debug_image= debug_image=
subdir=`echo /boot/grub | sed ${transform}` subdir="`echo '/@bootdirname@/@grubdirname@' | sed "s,//*,/,g"`"
pc_dir="${libdir}/@PACKAGE@/i386-pc" pc_dir="${libdir}/@PACKAGE@/i386-pc"
ppc_dir="${libdir}/@PACKAGE@/powerpc-ieee1275" ppc_dir="${libdir}/@PACKAGE@/powerpc-ieee1275"
sparc_dir="${libdir}/@PACKAGE@/sparc64-ieee1275" sparc_dir="${libdir}/@PACKAGE@/sparc64-ieee1275"