File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,8 @@ set(cssort "${CMAKE_BINARY_DIR}/src/cssort")
24
24
set (csjson "${csgrep} --mode=json" )
25
25
set (diffcmd "diff -up" )
26
26
27
- # unify the JSON output generated by different version of Boost
28
- set (jsfilter "sed" )
29
- set (jsfilter "${jsfilter} -e ':a;N;$!ba;s|:\\\\\\\\ n *\\\\\\\\ [|: [|g'" )
30
-
31
27
# eliminate csdiff's version string in the output
32
- set (jsfilter "${jsfilter} -e 's|\" version\" : \" [^\" ]*\" |\" version\" : \"\" |g'" )
33
-
34
- # yet another conversion needed for scan properties on EPEL-7
35
- set (jsfilter "${jsfilter} -e ';s|:\\\\\\\\ n *{|: {|g'" )
28
+ set (jsfilter "sed -e 's|\" version\" : \" [^\" ]*\" |\" version\" : \"\" |g'" )
36
29
37
30
macro (add_test_wrap test_name cmd )
38
31
add_test ("${test_name} " bash -c "${cmd} " )
Original file line number Diff line number Diff line change 1
1
# shellcheck shell=sh
2
2
3
3
# FIXME: copy-pasted from ../../CMakeLists.txt
4
- export JSFILTER_CMD=" sed -e ':a;N;\$ !ba;s|:\\ n *\\ [|: [|g'"
5
-
6
4
# eliminate csdiff's version string in the output
7
- JSFILTER_CMD=" ${JSFILTER_CMD} -e 's|\" version\" : \" [^\" ]*\" |\" version\" : \"\" |g'"
8
-
9
- # yet another conversion needed for scan properties on EPEL-7
10
- JSFILTER_CMD=" ${JSFILTER_CMD} ';s|:\\ n *{|: {|g'"
5
+ export JSFILTER_CMD=" sed -e 's|\" version\" : \" [^\" ]*\" |\" version\" : \"\" |g'"
You can’t perform that action at this time.
0 commit comments