Author: glen                         Date: Tue Aug 16 09:13:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updates

---- Files affected:
SPECS:
   repackage.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/repackage.sh
diff -u SPECS/repackage.sh:1.1 SPECS/repackage.sh:1.2
--- SPECS/repackage.sh:1.1      Thu Mar  3 00:08:53 2005
+++ SPECS/repackage.sh  Tue Aug 16 11:13:34 2005
@@ -8,10 +8,15 @@
 
 rpmbuild() {
        set -x
+
        # i'd use ./builder to get all the ~/.bcondrc parsing,
     # but builder doesn't understand -bi
 #      ./builder -ncs -nc -nn --opts --short-circuit "$@"
-       command rpmbuild --short-circuit "$@" || exit
+       /usr/bin/rpmbuild --short-circuit  "$@" || exit
 }
-rpmbuild -bi "$@"
-rpmbuild -bb "$@"
+
+# just create the rpm's if -bb is somewhere in the args
+if [[ [EMAIL PROTECTED] != *-bb* ]]; then
+       rpmbuild -bi "$@"
+fi
+rpmbuild -bb --define 'clean %{nil}' "$@"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/repackage.sh?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to