Skip to content

Commit

Permalink
prevent writing into auto-generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos Mavrogiannopoulos committed Jun 15, 2015
1 parent cee4a39 commit 6dc008a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ radiusclient.conf: radiusclient.conf.in
sed -e 's|@sbin''dir@|$(sbindir)|g' \
-e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \
<$(srcdir)/radiusclient.conf.in >radiusclient.conf
chmod ogu-w $@

install-data-local: servers servers-tls
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir); \
Expand All @@ -36,6 +37,7 @@ radiusclient-tls.conf: radiusclient-tls.conf.in
sed -e 's|@sbin''dir@|$(sbindir)|g' \
-e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \
<$(srcdir)/radiusclient-tls.conf.in >radiusclient-tls.conf
chmod ogu-w $@

uninstall-local:
rm -f $(DESTDIR)$(pkgsysconfdir)/servers
Expand Down

0 comments on commit 6dc008a

Please sign in to comment.