[packages/slang] fix shebangs
atler
atler at pld-linux.org
Tue Apr 28 12:50:17 CEST 2020
commit 7b221ed5dbb0e13938f75f6ecdf649f4221e2643
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Apr 28 12:49:14 2020 +0200
fix shebangs
slang.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/slang.spec b/slang.spec
index e9cc90a..85c67e3 100644
--- a/slang.spec
+++ b/slang.spec
@@ -248,6 +248,8 @@ Moduł PCRE dla Slanga.
%patch0 -p1
%patch1 -p1
+grep -r '#!.*env slsh' -l examples modules/examples slsh/scripts | xargs %{__sed} -i -e '1 s,#!.*env slsh.*,#!/usr/bin/slsh,'
+
%build
%configure \
--with-pcre \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/slang.git/commitdiff/2134c42af256166146367ca8a16aa4bc8e529d77
More information about the pld-cvs-commit
mailing list