summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect/expect/0001-fixline1-fix-line-1.patch
blob: 9c73d3e579b266dfa6bac752209fc0ac358c8bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From eef7c44c10de32ba399ab162cb5799fafdce3fa5 Mon Sep 17 00:00:00 2001
From: Joe Slater <joe.slater@windriver.com>
Date: Tue, 15 Mar 2022 22:00:04 +0000
Subject: [PATCH] fixline1: fix line 1

Ironically, fixline1 needs its first line modified by
fixline1.  We do that, manually.

Upstream-Status: Inappropriate [OE specific cross build setup]

Signed-off-by: Joe Slater <joe.slater@windriver.com>
---
 fixline1 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/fixline1 b/fixline1
index 113e9bb..8a38e96 100755
--- a/fixline1
+++ b/fixline1
@@ -1,4 +1,7 @@
-#!expect --
+#!/bin/sh
+# expect won't see the exec \
+exec expect -- "$0" ${1+"$@"}
+
 # Synopsis: fixline1 newpath < input > output
 # Author: Don Libes
 
-- 
2.32.0