Don't let .DS_Store files break script/bootstrap
Fixes boxen/our-boxen#512 In particular, I have seen problems with the following hidden files that Mac creates: - `.DS_Store` - `.!59508!.DS_Store` - `.!59554!.DS_Store`
This commit is contained in:
parent
163e412305
commit
fec988ebda
1 changed files with 1 additions and 1 deletions
|
@ -27,4 +27,4 @@ set -e
|
|||
/usr/bin/bundle install --binstubs bin --path .bundle --quiet "$@"
|
||||
|
||||
# Fix the binstubs to use system ruby
|
||||
find bin -type f -print0 | xargs -0 sed -i '' 's|/usr/bin/env ruby|/usr/bin/ruby|g'
|
||||
find bin -not -path 'bin/\.*' -type f -print0 | xargs -0 sed -i '' 's|/usr/bin/env ruby|/usr/bin/ruby|g'
|
||||
|
|
Loading…
Reference in a new issue