[Lunar-commits] CVS: theedge/sbin lin,1.80,1.81

Auke Kok sofar at lunar-linux.org
Tue Oct 12 14:53:55 UTC 2004


Update of /var/cvs/lunar/theedge/sbin
In directory espresso.foo-projects.org:/tmp/cvs-serv6678/sbin

Modified Files:
	lin 
Log Message:
Adding '--opts' flag that allows you to add OPTS flags on the fly when compiling a module: use as follows:

lin --opts '--enable-foo --enable-bar' $MODULE

to wipe the OPTS use 'lin -r $MODULE' as normal.


Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- lin	6 Oct 2004 12:43:05 -0000	1.80
+++ lin	12 Oct 2004 14:53:53 -0000	1.81
@@ -205,7 +205,7 @@
 
 . /etc/lunar/config
 
-GETOPT_ARGS=$(getopt -q -n lin -o "cdf:hprRsvV:w:" -l "compile,debug,deps,from:,help,probe,reconfigure,resurrect,silent,verbose,Version:,want:" -- "$@")
+GETOPT_ARGS=$(getopt -q -n lin -o "cdf:hprRsvV:w:" -l "compile,debug,deps,from:,help,opts:,probe,reconfigure,resurrect,silent,verbose,Version:,want:" -- "$@")
 
 # the following trap makes sure all threads exit in case something weird
 # happens:
@@ -229,6 +229,7 @@
          --deps        ) export DEPS_ONLY="$1" ;                    shift   ;;
       -f|--from        ) export SOURCE_CACHE=$2 ;                   shift 2 ;;
       -h|--help        ) help ; exit                                        ;;
+         --opts        ) export PASS_OPTS="$2" ;                    shift 2 ;;
       -p|--probe       ) export PROBE="$1" ;                        shift   ;;
       -r|--reconfigure ) export RECONFIGURE="$1" ;                  shift   ;;
       -R|--resurrect   ) export RESURRECT="$1" ;                    shift   ;;



More information about the Lunar-commits mailing list