SPECS: builder - fixed spec name compare

baggins baggins at pld-linux.org
Mon Jun 11 09:27:53 CEST 2007


Author: baggins                      Date: Mon Jun 11 07:27:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed spec name compare

---- Files affected:
SPECS:
   builder (1.506 -> 1.507) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.506 SPECS/builder:1.507
--- SPECS/builder:1.506	Sun May 13 17:49:29 2007
+++ SPECS/builder	Mon Jun 11 09:27:47 2007
@@ -2075,7 +2075,7 @@
 				CVSTAG="${SPECFILE##*:}"
 				SPECFILE="${SPECFILE%%:*}"
 			fi
-			ASSUMED_NAME="${SPECFILE%%.spec}"
+			ASSUMED_NAME="$(basename ${SPECFILE%%.spec})"
 			shift
 	esac
 done
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.506&r2=1.507&f=u



More information about the pld-cvs-commit mailing list