SPECS: workcleanup.sh - more hacks

agaran agaran at pld-linux.org
Sun Aug 13 23:57:20 CEST 2006


Author: agaran                       Date: Sun Aug 13 21:57:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more hacks

---- Files affected:
SPECS:
   workcleanup.sh (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/workcleanup.sh
diff -u SPECS/workcleanup.sh:1.6 SPECS/workcleanup.sh:1.7
--- SPECS/workcleanup.sh:1.6	Thu Aug 10 21:40:18 2006
+++ SPECS/workcleanup.sh	Sun Aug 13 23:57:13 2006
@@ -25,6 +25,12 @@
 LIST=$("$dir/specparser.pl" --asf "$spec");
 if [ "$PARTIAL" = "" ]; then
 	rpmbuild -bs --rmsource --rmspec --clean "$spec" $@
+else
+	RMX="$spec"
+	for i in $LIST; do
+		RMX="$RMX ../SOURCES/$i";
+	done
+	rm -v $RMX
 fi
 if [ $? = 0 ]; then
 	# /3DKit.spec/1.10/Wed Jan 18 12:46:16 2006//
================================================================

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



More information about the pld-cvs-commit mailing list