File: bash-term-in-posix-shell.patch

package info (click to toggle)
osmo-tetra 0.0~git20230902.c0956b9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 776 kB
  • sloc: ansic: 5,416; python: 1,002; sh: 187; makefile: 33
file content (19 lines) | stat: -rw-r--r-- 716 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Nate Doris <nate.doris@gmail.com>
Description: This script is marked as running under /bin/sh, but it seems to use a
feature found in bash but not in the SUSv3 or POSIX shell specification.
--- a/src/receiver1
+++ b/src/receiver1
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # This is an example how to use simdemod.py --sq5bpf
 export TETRA_HACK_PORT=7379
 export TETRA_HACK_RXID=$1
--- a/src/receiver2
+++ b/src/receiver2
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # This is an example how to use simdemod.py --sq5bpf
 # this is receiver 1, only with the port changed, it will be used in the example documentation
 export TETRA_HACK_PORT=7380 #i might as well have made this a command line parameter, oh well :)