summaryrefslogtreecommitdiff
path: root/pyraf/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pyraf/build.sh')
-rw-r--r--pyraf/build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyraf/build.sh b/pyraf/build.sh
index 8295030..3974e86 100644
--- a/pyraf/build.sh
+++ b/pyraf/build.sh
@@ -5,7 +5,11 @@ fi
if [[ $PY3K > 0 ]]; then
set +e
- 2to3 -w .
+ echo Running 2to3...
+ 2to3 -w . &>/dev/null
+ if [[ $? != 0 ]]; then
+ echo "ERROR: 2to3 technically failed!"
+ fi
fi
python setup.py install || exit 1