Browse Source

Merge branch 'ticket26439'

Nick Mathewson 6 years ago
parent
commit
5f41bc91c6
3 changed files with 10 additions and 1 deletions
  1. 3 0
      changes/ticket26439
  2. 7 0
      configure.ac
  3. 0 1
      src/test/include.am

+ 3 - 0
changes/ticket26439

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

+ 7 - 0
configure.ac

@@ -2279,6 +2279,13 @@ 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

+ 0 - 1
src/test/include.am

@@ -12,7 +12,6 @@ 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 = \