Yuta HIGUCHI
Committed by Gerrit Code Review

Emit warning when buck artifact is the latest

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