From 4269395f1d61ad2440bc50facd07bcea5de0b11b Mon Sep 17 00:00:00 2001 From: "Hui, Chunyang" Date: Wed, 30 Sep 2020 05:57:08 +0000 Subject: [PATCH] Remove python from Occlum commands --- tools/occlum | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/occlum b/tools/occlum index 07be94a9..67c5fdd5 100755 --- a/tools/occlum +++ b/tools/occlum @@ -33,8 +33,7 @@ if [ -f "$occlum_sgx_env" ]; then fi get_enclave_debuggable_flag() { - cat "$instance_dir/Occlum.json" | \ - python -c "import sys, json; print json.load(sys.stdin)['metadata']['debuggable']" + jq '.metadata.debuggable' $instance_dir/Occlum.json } exit_error() {