]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use the "commands" argument of AC_CONFIG_FILES to make scripts +x
authorNick Mathewson <nickm@torproject.org>
Thu, 21 Jun 2018 13:14:19 +0000 (09:14 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 21 Jun 2018 18:26:47 +0000 (14:26 -0400)
Closes ticket 26439.

changes/ticket26439 [new file with mode: 0644]
configure.ac
src/test/include.am

diff --git a/changes/ticket26439 b/changes/ticket26439
new file mode 100644 (file)
index 0000000..b813fe4
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor features (build):
+    - When generating scripts from autoconf, also make them executable.
+      Closes ticket 26439.
index 30f8e63ec55041f9d3d398780de3476dd639f5ce..14a1a9436d306f81ca6b60c832a9356ff3782000 100644 (file)
@@ -2275,6 +2275,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
index 7e5ad4611767278e32a4c015e92f987f1e225351..1080184ac40b41df6bbb903a846261cd5f2c8e08 100644 (file)
@@ -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 = \