summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
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 4fca9b93e..eb7015de2 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -1,6 +1,7 @@
#!/bin/bash
cd "$( dirname "$0" )"
+ARGS="$@"
clear
cat <<EOF
@@ -75,6 +76,7 @@ EOF
--define "_sourcedir ${PWD}/${COMP}" \
--define "_prefix ${PREFIX:-/opt/trinity}" \
--define "version ${VERSION:-3.5.13}" \
+ $ARGS \
${COMP}/${SPEC} || exit 1
) 2>&1 | tee /tmp/log
set +x