SPECS: pearize.sh - cosmetics

glen glen at pld-linux.org
Tue Oct 4 01:19:33 CEST 2005


Author: glen                         Date: Mon Oct  3 23:19:33 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cosmetics

---- Files affected:
SPECS:
   pearize.sh (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.20 SPECS/pearize.sh:1.21
--- SPECS/pearize.sh:1.20	Tue Oct  4 01:18:46 2005
+++ SPECS/pearize.sh	Tue Oct  4 01:19:27 2005
@@ -38,9 +38,10 @@
 @extra_headers@
 Optional: @optional@
 EOF
-template=$(rpm -q --qf "%{name}-%{version}$rc$pre$beta.spec\n" --specfile "$spec" | head -n 1)
-
 pear makerpm --spec-template=$stmp $tarball
+rm -f $stmp
+
+template=$(rpm -q --qf "%{name}-%{version}$rc$pre$beta.spec\n" --specfile "$spec" | head -n 1)
 mv $template .$template~
 template=.$template~
 
@@ -102,5 +103,4 @@
 else
 	echo "$spec: No diffs"
 fi
-rm -f $stmp
 #exit 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.20&r2=1.21&f=u




More information about the pld-cvs-commit mailing list