[packages/nginx/dev-dynamic] fix load_module line

glen glen at pld-linux.org
Wed Oct 19 21:49:42 CEST 2016


commit 9453c586f099e040dee57c87894431114e6e6890
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 19 22:49:37 2016 +0300

    fix load_module line

 nginx.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nginx.spec b/nginx.spec
index 2ad8783..3a93168 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -323,7 +323,7 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_nginxdir}/html/favicon.ico
 
 load_module() {
 	local module=ngx_${1}_module.so conffile=mod_$1.conf
-	echo 'load_module "%{_libdir}/%{name}/modules/$module";' \
+	printf 'load_module "%{_libdir}/%{name}/modules/%s";' "$module" \
 		> $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/$conffile
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nginx.git/commitdiff/9453c586f099e040dee57c87894431114e6e6890



More information about the pld-cvs-commit mailing list