Implement the -i option of upgrade

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2013-12-14 17:54:10 -08:00
parent 33c5893bdb
commit 9abe60bc27
5 changed files with 125 additions and 15 deletions

View File

@ -422,6 +422,7 @@ compiler() {
[ -n "$g_convert" ] && options="$options --convert"
[ -n "$g_annotate" ] && options="$options --annotate"
[ -n "$g_directives" ] && options="$options --directives"
[ -n "$g_inline" ] && options="$options --inline"
if [ -n "$PERL" ]; then
if [ ! -x "$PERL" ]; then
@ -824,6 +825,10 @@ update_command() {
g_directives=Yes
option=${option#D}
;;
i*)
g_inline=Yes
option=${option#i}
;;
*)
usage 1
;;