Browse Source

updated vbuilder.sh.in

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@4003 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
56f824b502
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vbuilder.sh.in

+ 1 - 1
vbuilder.sh.in

@@ -685,7 +685,7 @@ RPM_Build(){
 
 
     ## change ${DIST_RELEASE}
-    BASE_RPM_PKG=$(echo $BASE_RPM_PKG | sed -e "s/vl[0-9]*\([A-Za-z]*\)\./vl${DIST_RELEASE}\1\./")
+    BASE_RPM_PKG=$(echo $BASE_RPM_PKG | sed -e "s/vl[0-9]*\([A-Za-z]*[0-9A-Za-z]*\)\./vl${DIST_RELEASE}\1\./")
 
     ## rebuild $BASE_RPM_PKG on ${DIST_RELEASE}
     $__chroot_sh "cd ${BUILD_DIR}/SRPMS && apt-get -o APT::Install::Virtual=true -y build-dep $BASE_RPM_PKG"