Yuta HIGUCHI
Committed by Gerrit Code Review

Emit warning when buck artifact is the latest

Change-Id: If01b47f2aaebf5cf2cf3977ad05e1453c4a2ef57
...@@ -4,9 +4,13 @@ ...@@ -4,9 +4,13 @@
4 # karaf using the supplied arguments. 4 # karaf using the supplied arguments.
5 # ----------------------------------------------------------------------------- 5 # -----------------------------------------------------------------------------
6 6
7 +. $ONOS_ROOT/tools/build/envDefaults
8 +if [ -L $ONOS_TAR ]; then
9 + echo "WARN: This script does not support deploying buck artifacts"
10 +fi
11 +
7 # FIXME: temporarily fix 500 error in GUI, need to be improved with a better way 12 # FIXME: temporarily fix 500 error in GUI, need to be improved with a better way
8 if echo $* | egrep "\bclean\b"; then 13 if echo $* | egrep "\bclean\b"; then
9 - . $ONOS_ROOT/tools/build/envDefaults
10 export KARAF_ROOT=${KARAF_ROOT:-~/Applications/apache-karaf-$KARAF_VERSION} 14 export KARAF_ROOT=${KARAF_ROOT:-~/Applications/apache-karaf-$KARAF_VERSION}
11 export STAGE=$(dirname $KARAF_ROOT) 15 export STAGE=$(dirname $KARAF_ROOT)
12 echo "Removing data directories..." 16 echo "Removing data directories..."
......