mirror of
https://github.com/znc/znc.git
synced 2026-05-09 14:54:53 +02:00
Fix copying modules data directories.
This fixes out-of-tree builds.
This commit is contained in:
+2
-2
@@ -106,8 +106,8 @@ install_metadirs: create_install_dir
|
||||
d=$$(echo $$a | sed -e "s:$(srcdir)/::g;s:modperl::;s:modpython::"); \
|
||||
if [ -d $$a ] && [ -f $${d}.so ]; then \
|
||||
cp -R $$a $(DESTDIR)$(DATADIR); \
|
||||
find $(DESTDIR)$(DATADIR)/$$a -type d -exec chmod 0755 '{}' \;; \
|
||||
find $(DESTDIR)$(DATADIR)/$$a -type f -exec chmod 0644 '{}' \;; \
|
||||
find $(DESTDIR)$(DATADIR)/$$d -type d -exec chmod 0755 '{}' \;; \
|
||||
find $(DESTDIR)$(DATADIR)/$$d -type f -exec chmod 0644 '{}' \;; \
|
||||
fi \
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user