diff options
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-x | redhat/genrpm.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh index f5c65ed4b..4b8c496c1 100755 --- a/redhat/genrpm.sh +++ b/redhat/genrpm.sh @@ -3,8 +3,6 @@ cd "$( dirname "$0" )" ARGS="" -#eval TARBALLS_DIR=~/tde/tde-tarballs/3.5.13.2 -eval TARBALLS_DIR=~/tde/tde-tarballs/14.0.0 DIST="$(rpmdist.sh --dist)" # CCACHE related stuff @@ -25,6 +23,13 @@ while [ $# -gt 0 ]; do shift done +if [ -d ~/tde/tde-tarballs/${REQVERSION} ]; then + eval TARBALLS_DIR=~/tde/tde-tarballs/${REQVERSION} +else + eval TARBALLS_DIR=~/tde/tde-tarballs/3.5.13.2 + #eval TARBALLS_DIR=~/tde/tde-tarballs/14.0.0 +fi + clear cat <<EOF $(< /etc/redhat-release) [$(uname -m)] |