From 5f735283f60e4500c7cba58d15b21fe7508c5412 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 11 Jan 2020 03:21:32 +0100 Subject: [PATCH] Fix Python syntax error AGAIN in start_rpc_server_to_tracker.py #4682 Tried to fix a Python syntax error but did not go far enough because there are _three sets_ of embedded quotes. This PR solves the syntax error by using Python's triple quoted strings on the outside and then double quotes in the middle and then single quotes on the inside. --- apps/vta_rpc/start_rpc_server_to_tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vta_rpc/start_rpc_server_to_tracker.py b/apps/vta_rpc/start_rpc_server_to_tracker.py index c0248ab23a7e..35e66f59be64 100755 --- a/apps/vta_rpc/start_rpc_server_to_tracker.py +++ b/apps/vta_rpc/start_rpc_server_to_tracker.py @@ -15,7 +15,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -PROJROOT="$( cd '$( dirname "${BASH_SOURCE[0]}" )/../../' && pwd )" +PROJROOT="""$( cd "$( dirname '${BASH_SOURCE[0]}' )/../../" && pwd )""" # Derive target specified by vta_config.json VTA_CONFIG=${PROJROOT}/vta/config/vta_config.py