oops use string comparison

This commit is contained in:
Andrew Gibiansky 2014-01-11 21:11:03 -07:00
parent 52e9c178ce
commit 7fcdbdb1d9

View File

@ -9,7 +9,7 @@ COMMIT=$2
# Find out current IPython commit hash.
cd $VIRTUALENV/src/ipython
CURRENT_COMMIT=`git rev-parse HEAD`
if [ $CURRENT_COMMIT -ne $COMMIT ]; then
if [ $CURRENT_COMMIT = $COMMIT ]; then
# Activate the virtualenv.
source $VIRTUALENV/bin/activate