[packages/netsniff-ng] zsh install directory fixed

gotar gotar at pld-linux.org
Sun Nov 5 16:54:43 CET 2017


commit c50717c33ce57a2be4fc6eeea931abb8363d95a4
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Sun Nov 5 16:54:23 2017 +0100

    zsh install directory fixed

 netsniff-ng.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/netsniff-ng.spec b/netsniff-ng.spec
index f70c814..e9eca3e 100644
--- a/netsniff-ng.spec
+++ b/netsniff-ng.spec
@@ -55,7 +55,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{zsh_compdir}}
 	DESTDIR=$RPM_BUILD_ROOT
 
 for i in *.zsh
-	install -p "$i" "%{zsh_compdir}/_${i%.zsh}"
+	install -p "$i" $RPM_BUILD_ROOT%{zsh_compdir}/_"${i%.zsh}"
 done
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netsniff-ng.git/commitdiff/c50717c33ce57a2be4fc6eeea931abb8363d95a4



More information about the pld-cvs-commit mailing list