Преглед изворни кода

Move update_d3flamegraph.sh script from the root directory. (#370)

Alexey Alexandrov пре 7 година
родитељ
комит
783adb792f
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3
    1
      third_party/update_d3flamegraph.sh

update_d3flamegraph.sh → third_party/update_d3flamegraph.sh Прегледај датотеку

@@ -8,7 +8,9 @@ D3FLAMEGRAPH_VERSION="2.0.0-alpha4"
8 8
 D3FLAMEGRAPH_JS="d3-flamegraph.js"
9 9
 D3FLAMEGRAPH_CSS="d3-flamegraph.css"
10 10
 
11
-D3FLAMEGRAPH_DIR=third_party/d3flamegraph
11
+cd $(dirname $0)
12
+
13
+D3FLAMEGRAPH_DIR=d3flamegraph
12 14
 
13 15
 generate_d3flamegraph_go() {
14 16
     local d3_js=$(curl -s "${D3FLAMEGRAPH_REPO}/${D3FLAMEGRAPH_VERSION}/dist/${D3FLAMEGRAPH_JS}" | sed 's/`/`+"`"+`/g')