Fix the conditional variable assignment
-
#!/bin/bash
-#
-#
set -euo pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )"
cd ..
# Lets try to detect the local machine ip..
-LOCAL_IP="${SYNDESIS_DEV_LOCAL_IP:$(./node_modules/.bin/my-local-ip)}"
+LOCAL_IP="${SYNDESIS_DEV_LOCAL_IP:=$(./node_modules/.bin/my-local-ip)}"
echo "Local IP is: ${LOCAL_IP}"
sed "s/192.168.64.2/$(minishift ip)/" src/config.json.minishift > src/config.json
