[packages/lensfun] fix shebangs

atler atler at pld-linux.org
Wed Dec 9 18:50:32 CET 2020


commit 5f7bb4937271ccb6af4f494d14aa1dba96de5c95
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Dec 9 18:49:54 2020 +0100

    fix shebangs

 lensfun.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/lensfun.spec b/lensfun.spec
index fde4024..daa4f3e 100644
--- a/lensfun.spec
+++ b/lensfun.spec
@@ -64,6 +64,9 @@ Dokumentacja API biblioteki lensfun.
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' apps/lensfun-{add-adapter,update-data}
+%{__sed} -i -e '1s,/usr/bin/env sh,%{__sh},' apps/g-lensfun-update-data
+
 %build
 install -d build
 cd build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lensfun.git/commitdiff/5f7bb4937271ccb6af4f494d14aa1dba96de5c95



More information about the pld-cvs-commit mailing list