SPECS: pearize.sh - fix epoch adding

glen glen at pld-linux.org
Thu Oct 6 19:37:50 CEST 2005


Author: glen                         Date: Thu Oct  6 17:37:50 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix epoch adding

---- Files affected:
SPECS:
   pearize.sh (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.23 SPECS/pearize.sh:1.24
--- SPECS/pearize.sh:1.23	Tue Oct  4 01:35:59 2005
+++ SPECS/pearize.sh	Thu Oct  6 19:37:45 2005
@@ -63,7 +63,7 @@
 	query=$(rpm -q --qf '%{epoch}\n' $pkg || :)
  	epoch=$(echo "$query" | grep -v 'installed' || :)
 	if [ "$epoch" ] && [ "$epoch" -gt 0 ]; then
-		echo "$dep" | sed -e "s, [<>=] ,&$epoch:,"
+		echo "$dep" | sed -e "s, [<>=]\+ ,&$epoch:,"
 	else
 		echo "$dep"
 	fi
================================================================

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




More information about the pld-cvs-commit mailing list