File: fix-check.patch

package info (click to toggle)
ble.sh 0.4.0~git20250806.8060b7a-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,744 kB
  • sloc: sh: 72,358; awk: 1,316; cpp: 750; ansic: 186; javascript: 43; makefile: 35
file content (14 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Use script to fake a TTY for ble.sh check, fixing it
Author: Eric Long <i@hack3r.moe>

--- a/make_command.sh
+++ b/make_command.sh
@@ -167,7 +167,7 @@
 
 function sub:check {
   local bash=${1-bash}
-  "$bash" out/ble.sh --test
+  script -q -e -c "\"$bash\" out/ble.sh --test"
 }
 function sub:check-all {
   local -x _ble_make_command_check_count=0