summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-11-20 11:39:08 -0800
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2015-11-20 11:39:08 -0800
commit60387abe5b70d96e657c2630421865b908936910 (patch)
treee81f2d65da5cd09397a266f300846a86f5a4d4d5 /scripts
parent53126fec73c6b49df2f0d865a1c94722f6defd73 (diff)
downloadrvi_core-60387abe5b70d96e657c2630421865b908936910.tar.gz
Fixed symlink reference to /etc/opt/rvi.
Fixed incorrect directory reference when launching erlang rvi
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rvi.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/rvi.sh b/scripts/rvi.sh
index 90ac3a2..4b04c27 100644
--- a/scripts/rvi.sh
+++ b/scripts/rvi.sh
@@ -97,10 +97,10 @@ then
echo "Failed to process configuration file."
exit "$?"
fi
-fi
-# Copy created config file to /etc/opt/rvi/sys.config,
-# which is symlinked to by /opt/rvi/sys.config
-cp /tmp/rvi/sys.config /etc/opt/rvi/sys.config
+ # Copy created config file to /etc/opt/rvi/sys.config,
+ # which is symlinked to by /opt/rvi/sys.config
+ cp /tmp/rvi/sys.config /etc/opt/rvi/sys.config
+fi
exec /opt/rvi/bin/rvi ${CMD}