Skip to content

Commit

Permalink
Using awk to do floating point comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
whart222 committed Jul 5, 2013
1 parent 12d555e commit 62078c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/jenkins_cxxtest
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ done

# Setup virtual Python environment
\rm -Rf vpython
if [ $PYTHON_VER < 2.6 ]; then
tmp=2.6
if [ "yes" = "$(echo | awk "($PYTHON_VER <= $tmp) { print \"yes\"; }")" ];; then
"$PYTHON" "$BUILD_SCRIPTS"/virtualenv_1.7.py "$WORKSPACE"/vpython || exit 1
else
"$PYTHON" "$BUILD_SCRIPTS"/virtualenv.py "$WORKSPACE"/vpython || exit 1
Expand Down

0 comments on commit 62078c8

Please sign in to comment.