Index: scripts/start.sh =================================================================== diff -u -re554eebb79659077383c506d90cecbc125855894 -rd638f1b23e6ec1c200643e8233cd65972621ca25 --- scripts/start.sh (.../start.sh) (revision e554eebb79659077383c506d90cecbc125855894) +++ scripts/start.sh (.../start.sh) (revision d638f1b23e6ec1c200643e8233cd65972621ca25) @@ -38,6 +38,7 @@ SERVER_CONFIG_EXT="json" SERVER_CONFIG_JSON="$SERVER_CONFIG_FILE.$SERVER_CONFIG_EXT" SERVER_CONFIG_JSON_WS="$SERVER_CONFIG_FILE" +SERVER_CONFIG_JSON_WS_ALL="$SERVER_CONFIG_JSON_WS"_*.""$SERVER_CONFIG_EXT" SERVER_DRT_WS_PRODUCT="production" SERVER_DRT_WS_STAGING="staging" SERVER_DRT_WS_QUALITY="quality" @@ -96,7 +97,8 @@ # creat the config.json file - cp "$SERVER_CONFIG_JSON_WS""_""$SERVER_WS"".""$SERVER_CONFIG_EXT" $SERVER_CONFIG_JSON + cp "$SERVER_CONFIG_JSON_WS""_""$SERVER_WS"".""$SERVER_CONFIG_EXT" $SERVER_CONFIG_JSON # copy the config for the selected environment to config.json + rm "$SERVER_CONFIG_JSON_WS_ALL" # remove the template config_.json files if [[ ! -e $SERVER_CONFIG_JSON ]]; then echo "The file $SERVER_CONFIG_JSON cannot be created" exit 0