mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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' _ {} \; ```
This commit is contained in:
parent
fcf37ca2fe
commit
f48655d04d
Notes:
git
2019-11-09 21:36:52 +09:00
17 changed files with 0 additions and 0 deletions
0
benchmark/lib/load.rb
Executable file → Normal file
0
benchmark/lib/load.rb
Executable file → Normal file
0
ext/-test-/enumerator_kw/extconf.rb
Executable file → Normal file
0
ext/-test-/enumerator_kw/extconf.rb
Executable file → Normal file
0
ext/-test-/rb_call_super_kw/extconf.rb
Executable file → Normal file
0
ext/-test-/rb_call_super_kw/extconf.rb
Executable file → Normal file
0
ext/-test-/scan_args/extconf.rb
Executable file → Normal file
0
ext/-test-/scan_args/extconf.rb
Executable file → Normal file
0
ext/ripper/tools/generate-param-macros.rb
Executable file → Normal file
0
ext/ripper/tools/generate-param-macros.rb
Executable file → Normal file
0
ext/ripper/tools/generate.rb
Executable file → Normal file
0
ext/ripper/tools/generate.rb
Executable file → Normal file
0
ext/ripper/tools/preproc.rb
Executable file → Normal file
0
ext/ripper/tools/preproc.rb
Executable file → Normal file
0
ext/ripper/tools/strip.rb
Executable file → Normal file
0
ext/ripper/tools/strip.rb
Executable file → Normal file
0
lib/rubygems/core_ext/kernel_require.rb
Executable file → Normal file
0
lib/rubygems/core_ext/kernel_require.rb
Executable file → Normal file
0
lib/rubygems/core_ext/kernel_warn.rb
Executable file → Normal file
0
lib/rubygems/core_ext/kernel_warn.rb
Executable file → Normal file
0
sample/test.rb
Executable file → Normal file
0
sample/test.rb
Executable file → Normal file
0
test/csv/test_data_converters.rb
Executable file → Normal file
0
test/csv/test_data_converters.rb
Executable file → Normal file
0
test/csv/test_encodings.rb
Executable file → Normal file
0
test/csv/test_encodings.rb
Executable file → Normal file
0
test/csv/test_features.rb
Executable file → Normal file
0
test/csv/test_features.rb
Executable file → Normal file
0
test/csv/test_row.rb
Executable file → Normal file
0
test/csv/test_row.rb
Executable file → Normal file
0
test/csv/test_table.rb
Executable file → Normal file
0
test/csv/test_table.rb
Executable file → Normal file
0
tool/gem-unpack.rb
Executable file → Normal file
0
tool/gem-unpack.rb
Executable file → Normal file
Loading…
Reference in a new issue