Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fsck should ensure all bins are executable
  • Loading branch information
josh committed Aug 12, 2010
1 parent c8601f8 commit 3dabebc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/rip-fsck
Expand Up @@ -33,6 +33,13 @@ Dir["#{Rip.packages}/*"].each do |package|
status = 1
warn "#{package} parent pointer is not a symlink"
end

Dir["#{package}/bin/*"].each do |bin|
if !File.executable?(bin)
status = 1
warn "#{bin} is not executable"
end
end
end

exit status

0 comments on commit 3dabebc

Please sign in to comment.