From: František Dvořák Date: Tue, 10 Jul 2012 09:16:56 +0000 (+0200) Subject: Build gridsite on Debian. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5c20b418db8e2fcb59d08083f9b05645af3d9f8e;p=mock.git Build gridsite on Debian. --- diff --git a/mock.sh b/mock.sh index 311b315..4a3a116 100755 --- a/mock.sh +++ b/mock.sh @@ -129,8 +129,13 @@ package() { while test -n "$1"; do case "$1" in gridsite|grids) - file=`find org.gridsite.core/RPMTMP -type f -name gridsite-\*.src.rpm | head -n 1` - mock_build $file + if test "$CONF" = "pbuilder"; then + file=`find org.gridsite.core/RPMTMP -type f -name gridsite_\*.dsc | head -n 1` + pbuilder_build $file + else + file=`find org.gridsite.core/RPMTMP -type f -name gridsite-\*.src.rpm | head -n 1` + mock_build $file + fi ;; jobid)