summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-10-29 13:16:27 +0200
committeralbator <albator@arcadia.vtf>2011-10-29 13:16:27 +0200
commit06545090978e8ceed7b2a607286c9c92861c4783 (patch)
treeb1641c1f54c4dbcfd4ff6e3f228349a43293ac9b /redhat/genrpm.sh
parente74a55645fa75299a8bdfe8ce7c5e64e93500846 (diff)
downloadtde-packaging-06545090978e8ceed7b2a607286c9c92861c4783.tar.gz
tde-packaging-06545090978e8ceed7b2a607286c9c92861c4783.zip
Small fixes
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-xredhat/genrpm.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 96d6ce7de..1a57dd898 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -70,11 +70,13 @@ EOF
esac
set -x
+ (
rpmbuild -ba \
--define "_sourcedir ${PWD}/${COMP}" \
--define "_prefix ${PREFIX:-/opt/trinity}" \
--define "version ${VERSION:-3.5.13}" \
${COMP}/${SPEC} || exit 1
+ ) 2>&1 | tee /tmp/log
set +x
done