Masato Taruishi
taru****@users*****
2004年 10月 7日 (木) 13:03:55 JST
=================================================================== RCS file: ultrapossum/ultrapossum-config.in,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- ultrapossum/ultrapossum-config.in 2004/10/07 04:00:08 1.21 +++ ultrapossum/ultrapossum-config.in 2004/10/07 04:03:55 1.22 @@ -87,8 +87,13 @@ if test -f $localstatedir/lib/$PACKAGE/status; then . $localstatedir/lib/$PACKAGE/status fi - - ultrapossum-config module | while read m + shift + if test "x$1" != "x"; then + modules="$@" + else + modules=`ultrapossum-config module` + fi + for m in $modules do m2="ULTRAPOSSUM_MODULE_`echo $m | tr 'a-z' 'A-Z'`" echo "$m=${!m2}" @@ -105,7 +110,7 @@ done ;; x) - echo "Usage: $0 init|get <var...>|<set <var>=<val>...>|remove <var>|module|variable <module...>|term" + echo "Usage: $0 init|get <var...>|<set <var>=<val>...>|remove <var>|module|variable <module...>|status <module...>|term" exit 1 ;; x*)