summaryrefslogtreecommitdiff
path: root/ext/ripper
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-08 15:03:02 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-09 21:36:30 +0900
commitf48655d04d463a89b7ac15bc3942ec6c574c6cd9 (patch)
tree7b0e7380d7be97958e38bc21975d213cf3cb017d /ext/ripper
parentfcf37ca2fef8248966dcd9143aaea569fc87953c (diff)
Remove unneeded exec bits from some files
I noticed that some files in rubygems were executable, and I could think of no reason why they should be. In general, I think ruby files should never have the executable bit set unless they include a shebang, so I run the following command over the whole repo: ```bash find . -name '*.rb' -type f -executable -exec bash -c 'grep -L "^#!" $1 || chmod -x $1' _ {} \; ```
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2662
Diffstat (limited to 'ext/ripper')
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/generate-param-macros.rb0
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/generate.rb0
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/preproc.rb0
-rw-r--r--[-rwxr-xr-x]ext/ripper/tools/strip.rb0
4 files changed, 0 insertions, 0 deletions
diff --git a/ext/ripper/tools/generate-param-macros.rb b/ext/ripper/tools/generate-param-macros.rb
index f0de55a5f28..f0de55a5f28 100755..100644
--- a/ext/ripper/tools/generate-param-macros.rb
+++ b/ext/ripper/tools/generate-param-macros.rb
diff --git a/ext/ripper/tools/generate.rb b/ext/ripper/tools/generate.rb
index 883e6ef2df5..883e6ef2df5 100755..100644
--- a/ext/ripper/tools/generate.rb
+++ b/ext/ripper/tools/generate.rb
diff --git a/ext/ripper/tools/preproc.rb b/ext/ripper/tools/preproc.rb
index 7639a901dfd..7639a901dfd 100755..100644
--- a/ext/ripper/tools/preproc.rb
+++ b/ext/ripper/tools/preproc.rb
diff --git a/ext/ripper/tools/strip.rb b/ext/ripper/tools/strip.rb
index 23102f797a5..23102f797a5 100755..100644
--- a/ext/ripper/tools/strip.rb
+++ b/ext/ripper/tools/strip.rb