[packages/mawk] fix shebang in example

atler atler at pld-linux.org
Thu Nov 19 00:49:21 CET 2020


commit 0f878cbefb3efc98f1bc3c6824c7d62545936c7d
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Nov 19 00:48:19 2020 +0100

    fix shebang in example

 mawk.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/mawk.spec b/mawk.spec
index 9d572e7..fbc2945 100644
--- a/mawk.spec
+++ b/mawk.spec
@@ -105,6 +105,8 @@ Wersja awka na bootkietkę.
 %setup -q -n %{name}-%{version}-%{snap}
 %patch0 -p1
 
+%{__sed} -i -e '1s,/usr/bin/awk,/bin/awk,' examples/decl.awk
+
 %build
 %configure \
 	 --enable-init-srand
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mawk.git/commitdiff/0f878cbefb3efc98f1bc3c6824c7d62545936c7d



More information about the pld-cvs-commit mailing list