From 5c20b418db8e2fcb59d08083f9b05645af3d9f8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 10 Jul 2012 11:16:56 +0200 Subject: [PATCH] Build gridsite on Debian. --- mock.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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) -- 1.8.2.3