Browse Source

Revert "Use the "commands" argument of AC_CONFIG_FILES to make scripts +x"

This reverts commit 56c1fbf33f34e010ec33e7660fab3ec3ecb43fc8.
Nick Mathewson 5 years ago
parent
commit
0742b38725
3 changed files with 1 additions and 10 deletions
  1. 0 3
      changes/ticket26439
  2. 0 7
      configure.ac
  3. 1 0
      src/test/include.am

+ 0 - 3
changes/ticket26439

@@ -1,3 +0,0 @@
-  o Minor features (build):
-    - When generating scripts from autoconf, also make them executable.
-      Closes ticket 26439.

+ 0 - 7
configure.ac

@@ -2279,13 +2279,6 @@ AC_CONFIG_FILES([
         src/rust/.cargo/config
         scripts/maint/checkOptionDocs.pl
         scripts/maint/updateVersions.pl
-], [
-  chmod +x contrib/dist/suse/tor.sh
-  chmod +x link_rust.sh
-  chmod +x contrib/dist/tor.sh
-  chmod +x contrib/dist/torctl
-  chmod +x scripts/maint/checkOptionDocs.pl
-  chmod +x scripts/maint/updateVersions.pl
 ])
 
 if test "x$asciidoc" = "xtrue" && test "$ASCIIDOC" = "none"; then

+ 1 - 0
src/test/include.am

@@ -12,6 +12,7 @@ TESTS_ENVIRONMENT = \
 	export EXTRA_CARGO_OPTIONS="$(EXTRA_CARGO_OPTIONS)"; \
 	export CARGO_ONLINE="$(CARGO_ONLINE)"; \
         export CCLD="$(CCLD)"; \
+        chmod +x "$(abs_top_builddir)/link_rust.sh"; \
         export RUSTFLAGS="-C linker=$(abs_top_builddir)/link_rust.sh";
 
 TESTSCRIPTS = \