Fix for configuration files not being copied
The variable ONOS_HOME is defined a few lines later.
At this point ONOS_DIR needs to be used.
Change-Id: I01e8cd8db662f7f7bfbc9e70375a4bdceb7282dc
diff --git a/tools/package/onos-run-karaf b/tools/package/onos-run-karaf
index cb803e1..4718f45 100755
--- a/tools/package/onos-run-karaf
+++ b/tools/package/onos-run-karaf
@@ -71,7 +71,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_DIR/config/ \;
else
# Otherwise, run using the previous installation