Fixing bazel GUI packaging
Change-Id: Ifb7506c0cb0598813a54adcc36bd53d6955a6b84
diff --git a/tools/package/onos-run-karaf b/tools/package/onos-run-karaf
index 7c7a8cc..b0c371f 100755
--- a/tools/package/onos-run-karaf
+++ b/tools/package/onos-run-karaf
@@ -64,7 +64,7 @@
EOF
# Copy config files
- find $ONOS_ROOT/tools/package/config -maxdepth 1 -name \*.json -exec cp {} $ONOS_HOME/config/ \;
+ find ${ONOS_ROOT:-.}/tools/package/config -maxdepth 1 -name \*.json -exec cp {} $ONOS_HOME/config/ \;
else
# Otherwise, run using the previous installation