Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
461fc3cb
Commit
461fc3cb
authored
Jun 07, 2011
by
JINMEI Tatuya
Browse files
[master] applied proposed patch for
#870
(private files for cmdctl are
installed as readable files).
parent
52cc6e6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/cmdctl/Makefile.am
View file @
461fc3cb
...
...
@@ -40,12 +40,13 @@ b10-cmdctl: cmdctl.py
if
INSTALL_CONFIGURATIONS
# TODO: permissions handled later
# Below we intentionally use ${INSTALL} -m 640 instead of $(INSTALL_DATA)
# because these file will contain sensitive information.
install-data-local
:
$(mkinstalldirs)
$(DESTDIR)
/@sysconfdir@/@PACKAGE@
for
f
in
$(CMDCTL_CONFIGURATIONS)
;
do
\
if
test
!
-f
$(DESTDIR)$(sysconfdir)
/@PACKAGE@/
$$
f
;
then
\
$
(
INSTALL
_DATA)
$(srcdir)
/
$$
f
$(DESTDIR)$(sysconfdir)
/@PACKAGE@/
;
\
$
{
INSTALL
}
-m
640
$(srcdir)
/
$$
f
$(DESTDIR)$(sysconfdir)
/@PACKAGE@/
;
\
fi
;
\
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment