Thomas Vachuska
Committed by Gerrit Code Review

Fixed onos-run-karaf

Change-Id: If5ef4e2bf254cbba3891ab3412dea28f3e8c39e0
...@@ -24,7 +24,7 @@ set -e # Do not tolerate any errors from this point onward ...@@ -24,7 +24,7 @@ set -e # Do not tolerate any errors from this point onward
24 24
25 # If the previous installation does not exist, or if the ONOS tar changed, 25 # If the previous installation does not exist, or if the ONOS tar changed,
26 # or if the user asked for clean run, start from scratch. 26 # or if the user asked for clean run, start from scratch.
27 -if [ ! -d $ONOS_DIR -o $oldMD5 != $newMD5 -o -d $ONOS_DIR -a -n "$clean" ]; then 27 +if [ ! -d $ONOS_DIR -o "$oldMD5" != "$newMD5" -o -d $ONOS_DIR -a -n "$clean" ]; then
28 echo "Running clean installation..." 28 echo "Running clean installation..."
29 29
30 # Blitz previously unrolled onos- directory 30 # Blitz previously unrolled onos- directory
......