소스 검색

Remove quotes

Bob Mottram 7 년 전
부모
커밋
9801333767
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/freedombone-tests

+ 2
- 1
src/freedombone-tests 파일 보기

141
     unique_ports=$(grep -r "_ONION_PORT=" $FILES | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}' | uniq)
141
     unique_ports=$(grep -r "_ONION_PORT=" $FILES | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}' | uniq)
142
     if [[ "$ports" != "$unique_ports" ]]; then
142
     if [[ "$ports" != "$unique_ports" ]]; then
143
         echo $'Some onion ports are clashing'
143
         echo $'Some onion ports are clashing'
144
-        grep -r "_ONION_PORT=" "$FILES" | awk -F ':' '{print $2}' | uniq
144
+        # shellcheck disable=SC2086
145
+        grep -r "_ONION_PORT=" $FILES | awk -F ':' '{print $2}' | uniq
145
         exit 637252
146
         exit 637252
146
     fi
147
     fi
147
 }
148
 }