]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
ceph-deploy: index rpm subdirectories
authorGary Lowell <gary.lowell@inktank.com>
Tue, 18 Jun 2013 19:52:43 +0000 (12:52 -0700)
committerGary Lowell <gary.lowell@inktank.com>
Tue, 18 Jun 2013 19:52:43 +0000 (12:52 -0700)
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
scripts/build-rpm.sh

index a22f3df4809b34eaf3cef5858b46fbc6193afc94..3f3abc5e5858ec2b6ef43e378ed5dc637058674f 100755 (executable)
@@ -48,7 +48,7 @@ rpm_list=`find ${REPO} -name "*.rpm" -print`
 rpm --addsign --define "_gpg_name ${KEYID}" $rpm_list
 
 # Construct repodata
-for dir in ${DEST}/*
+for dir in ${DEST}/SRPMS ${DEST}/RPMS/*
 do
     if [ -d $dir ] ; then
         createrepo $dir