summaryrefslogtreecommitdiff
path: root/treepkg
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-14 11:41:40 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-14 11:41:40 -0300
commit875ec16b3d25c2b4d9dc5c940702f5ecde76cf7f (patch)
tree27f377ae3d51d071981a3ee174a48840872c2b8c /treepkg
parent9e8d1be6f00e61f15ab58459dcfb7b6e98609e2f (diff)
Update the system before building
Diffstat (limited to 'treepkg')
-rwxr-xr-xtreepkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/treepkg b/treepkg
index b3e4fe0..a49301e 100755
--- a/treepkg
+++ b/treepkg
@@ -185,6 +185,8 @@ if [ ${DEPTH} -eq 0 ]; then
# Run build command
pushd "${BUILDDIR}/${_pkg}" >/dev/null
+ sudo pacman -Syu
+
${FULLBUILDCMD}
# Run local release hook with $1 = $repo
${HOOKLOCALRELEASE} $(egrep ";${_pkg#*_};" "${BUILDORDER}" | cut -d';' -f6)