Skip to content

Commit

Permalink
Update permissions on dnscrypt-update-resolvers.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 21, 2017
1 parent 46f658f commit c6df323
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ AH_VERBATIM([NDEBUG], [/* Never ever ignore assertions */

AC_CONFIG_FILES([Makefile
contrib/Makefile
contrib/dnscrypt-update-resolvers.sh
dist-build/Makefile
man/Makefile
src/Makefile
Expand Down
10 changes: 10 additions & 0 deletions contrib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ EXTRA_DIST = \
domains-blacklist.conf \
generate-domains-blacklist.py \
resolvers-check.sh

noinst_SCRIPTS = \
dnscrypt-update-resolvers.sh

dnscrypt-update-resolvers.sh: dnscrypt-update-resolvers.sh.in
$(SED) \
-e 's|[@]datadir@|$(datadir)|g' \
-e 's|[@]PACKAGE@|$(PACKAGE)|g' \
< dnscrypt-update-resolvers.sh.in > dnscrypt-update-resolvers.sh
chmod u+rwx,go+rx dnscrypt-update-resolvers.sh
2 changes: 0 additions & 2 deletions contrib/dnscrypt-update-resolvers.sh.in
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#! /bin/sh

prefix="@prefix@"
datarootdir = "@datarootdir@"
PKG_DATA_DIR="@datadir@/@PACKAGE@"
RESOLVERS_FILE="${PKG_DATA_DIR}/dnscrypt-resolvers.csv"
RESOLVERS_FILE_TMP="${RESOLVERS_FILE}.tmp"
Expand Down

0 comments on commit c6df323

Please sign in to comment.