* util/grub-mkstandalone.in: Fix minor typo errors.

This commit is contained in:
Keshav P R 2011-12-22 13:05:19 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 198e150aaf
commit 86717cbe08
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,7 @@
2011-12-19 Keshav P R <the.ridikulus.rat@gmail.com>
* util/grub-mkstandalone.in: Fix minor typo errors.
2011-12-20 Vladimir Serbinenko <phcoder@gmail.com> 2011-12-20 Vladimir Serbinenko <phcoder@gmail.com>
IPv6, TCP, HTTP, ICMP and DNS support. Several cleanups and bugfixes. IPv6, TCP, HTTP, ICMP and DNS support. Several cleanups and bugfixes.

View file

@ -31,7 +31,7 @@ pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst
self=`basename $0` self=`basename $0`
source_dirrectory= source_directory=
compression=auto compression=auto
format= format=
grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}` grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}`
@ -86,7 +86,7 @@ do
exit 0 ;; exit 0 ;;
--modules) --modules)
modules=`argument $option "$@"`; shift ;; modules=`argument $option "$@"`; shift ;;
--modules=*) --modules=*)
modules=`echo "$option" | sed 's/--modules=//'` ;; modules=`echo "$option" | sed 's/--modules=//'` ;;
@ -96,9 +96,9 @@ do
output_image=`echo "$option" | sed 's/--output=//'` ;; output_image=`echo "$option" | sed 's/--output=//'` ;;
--directory | -d) --directory | -d)
source_directory=`argument $option "$@"`; shift ;; source_directory=`argument $option "$@"`; shift ;;
--directory=*) --directory=*)
source_directory=`echo "$option" | sed 's/--rom-directory=//'` ;; source_directory=`echo "$option" | sed 's/--directory=//'` ;;
--grub-mkimage) --grub-mkimage)
grub_mkimage=`argument $option "$@"`; shift ;; grub_mkimage=`argument $option "$@"`; shift ;;
@ -108,12 +108,12 @@ do
--compression | -C) --compression | -C)
compression=`argument $option "$@"`; shift ;; compression=`argument $option "$@"`; shift ;;
--compression=*) --compression=*)
compression=`echo "${option}/" | sed 's/--xorriso=//'` ;; compression=`echo "${option}" | sed 's/--compression=//'` ;;
--format | -O) --format | -O)
format=`argument $option "$@"`; shift ;; format=`argument $option "$@"`; shift ;;
--format=*) --format=*)
format=`echo "${option}/" | sed 's/--xorriso=//'` ;; format=`echo "${option}" | sed 's/--format=//'` ;;
*) *)
source="${source} ${option} $@"; break ;; source="${source} ${option} $@"; break ;;
@ -162,6 +162,7 @@ for file in "${source_directory}/"*.mod "${source_directory}/"efiemu32.o "${sour
cp -f "$file" "${memdisk_dir}"/boot/grub/ cp -f "$file" "${memdisk_dir}"/boot/grub/
fi fi
done done
for file in ${pkglib_DATA}; do for file in ${pkglib_DATA}; do
if test -f "${source_directory}/${file}"; then if test -f "${source_directory}/${file}"; then
cp -f "${source_directory}/${file}" "${memdisk_dir}"/boot/grub/ cp -f "${source_directory}/${file}" "${memdisk_dir}"/boot/grub/