chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a90ad
)
Use /usr/bin/mock to avoid issues when /usr/sbin/mock is run for non-root users
author
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Fri, 22 Jan 2016 21:12:12 +0000
(16:12 -0500)
committer
Youness Alaoui
<kakaroto@kakaroto.homelinux.net>
Fri, 22 Jan 2016 22:06:50 +0000
(17:06 -0500)
package.sh
patch
|
blob
|
history
diff --git
a/package.sh
b/package.sh
index 50330ac39cb815d4530136f570e0d70d7d4fed1b..98bed0485ce2f17f895b33baa5dc5b3eb823669b 100755
(executable)
--- a/
package.sh
+++ b/
package.sh
@@
-439,7
+439,9
@@
function buildFedora() {
fi
mkdir -pv "$_dstRpmDir/$_mockRelease"
- mock \
+ # Need to use /usr/bin/mock because depending on $PATH, if /usr/sbin/mock is
+ # run instead, it will give an error.
+ /usr/bin/mock \
$_mockReleaseArg \
--resultdir="$_dstRpmDir/$_mockRelease" \
"$_srpmFile"