SPECS: workcleanup.sh - not all need -bs, i do,

agaran agaran at pld-linux.org
Thu Jul 27 23:34:42 CEST 2006


Author: agaran                       Date: Thu Jul 27 21:34:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- not all need -bs, i do, 

---- Files affected:
SPECS:
   workcleanup.sh (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/workcleanup.sh
diff -u SPECS/workcleanup.sh:1.2 SPECS/workcleanup.sh:1.3
--- SPECS/workcleanup.sh:1.2	Wed Jul 26 21:36:41 2006
+++ SPECS/workcleanup.sh	Thu Jul 27 23:34:37 2006
@@ -21,7 +21,9 @@
 fi
 
 LIST=$(~/rpm/SPECS/specparser.pl --asf $1);
+if [ "x$PARTIAL" == x ]; then
 rpmbuild -bs --rmsource --rmspec --clean $1
+fi
 if [ $? == 0 ]; then
 	grep -v "\/$1\/" ~/rpm/SPECS/CVS/Entries > ~/rpm/SPECS/CVS/Entries.new
 	mv -f ~/rpm/SPECS/CVS/Entries{.new,}
================================================================

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



More information about the pld-cvs-commit mailing list