git://scientific.zcu.cz
/
mock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10c1f0
)
Build gridsite on Debian.
author
František Dvořák
<valtri@civ.zcu.cz>
Tue, 10 Jul 2012 09:16:56 +0000
(11:16 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Tue, 10 Jul 2012 09:16:56 +0000
(11:16 +0200)
mock.sh
patch
|
blob
|
blame
|
history
diff --git
a/mock.sh
b/mock.sh
index
311b315
..
4a3a116
100755
(executable)
--- 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)