Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 1 | From eef7c44c10de32ba399ab162cb5799fafdce3fa5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Joe Slater <joe.slater@windriver.com> |
| 3 | Date: Tue, 15 Mar 2022 22:00:04 +0000 |
| 4 | Subject: [PATCH] fixline1: fix line 1 |
| 5 | |
| 6 | Ironically, fixline1 needs its first line modified by |
| 7 | fixline1. We do that, manually. |
| 8 | |
| 9 | Upstream-Status: Inappropriate [OE specific cross build setup] |
| 10 | |
| 11 | Signed-off-by: Joe Slater <joe.slater@windriver.com> |
| 12 | --- |
| 13 | fixline1 | 5 ++++- |
| 14 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/fixline1 b/fixline1 |
| 17 | index 113e9bb..8a38e96 100755 |
| 18 | --- a/fixline1 |
| 19 | +++ b/fixline1 |
| 20 | @@ -1,4 +1,7 @@ |
| 21 | -#!expect -- |
| 22 | +#!/bin/sh |
| 23 | +# expect won't see the exec \ |
| 24 | +exec expect -- "$0" ${1+"$@"} |
| 25 | + |
| 26 | # Synopsis: fixline1 newpath < input > output |
| 27 | # Author: Don Libes |
| 28 | |
| 29 | -- |
| 30 | 2.32.0 |
| 31 | |