> How's this patch?

cnfFileShort is always updmap.cfg, so there is no need to add quotes
to $cnfFileShort.

These are the important ones (the last one is only important if TMP is
set in the environment and if $TMP contains a whitespace:

> -  egrep '^(#! *)?(Mixed)?Map' $cnfFile
> +  egrep '^(#! *)?(Mixed)?Map' "$cnfFile"
...
> -  for line in `egrep '^(#! *)?(Mixed)?Map' $cnfFile`; do
> +  for line in `egrep '^(#! *)?(Mixed)?Map' "$cnfFile"`; do
...
> -        ${VISUAL-${EDITOR-vi}} $cnfFile;;
> +        ${VISUAL-${EDITOR-vi}} "$cnfFile";;

Thanks, Jan!

Thomas

Reply via email to