SPECS: builder - fixed duoble meaning of `-a' option: $ ./buil...

twittner twittner at pld-linux.org
Tue Jul 26 20:05:00 CEST 2005


Author: twittner                     Date: Tue Jul 26 18:05:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed duoble meaning of `-a' option:
    $ ./builder --help | grep -- -a,
    -a, --adapter[ize]  - run adapter.awk on SPECFILE
    -a, --as_anon       - get files via pserver as cvs at cvs.pld-linux.org
    $ ./builder -a trf.spec
    awk: cannot open trf.spec (No such file or directory)
    diff: trf.spec: No such file or directory
    The SPEC is perfect ;)
- Rather builder has defect ;)

---- Files affected:
SPECS:
   builder (1.319 -> 1.320) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.319 SPECS/builder:1.320
--- SPECS/builder:1.319	Tue Jul  5 01:22:09 2005
+++ SPECS/builder	Tue Jul 26 20:04:55 2005
@@ -184,7 +184,7 @@
 [--with/--without <feature>] [--define <macro> <value>] <package>[.spec]
 
 -5, --update-md5    - update md5 comments in spec, implies -nd -ncs
--a, --adapter[ize]  - run adapter.awk on SPECFILE
+--adapter[ize]      - run adapter.awk on SPECFILE
 -a5, --add-md5      - add md5 comments to URL sources, implies -nc -nd -ncs
 -n5, --no-md5       - ignore md5 comments in spec
 -D, --debug         - enable builder script debugging mode,
@@ -1379,7 +1379,7 @@
 			NOCVSSPEC="yes"
 			UPDATE5="yes"
 			shift ;;
-		-a | --adapter | --adapterize )
+		--adapter | --adapterize )
 			COMMAND="adapterize";
 			NODIST="yes"
 			NOCVSSPEC="yes"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.319&r2=1.320&f=u




More information about the pld-cvs-commit mailing list