Conversation
system "rm -r #{tempDirectory}" | ||
#Copy man pages | ||
system "cd ./Extra;mkdir #{share};mkdir #{man};mkdir #{man1}; mv ./lsar.1 #{man1}/lsar.1; mv ./unar.1 #{man1}/unar.1" | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't chain commands in shell invocations, and calls to things like mv
, cd
, mkdir
, etc. should be done using the included FileUtils methods rather than shelling out. e.g.:
cd 'foo' do
# do some things
end
cd 'bar' do
# do other things
end
Indents should be 2sp. |
Needs a |
Please squash to a single commit for review, thanks. |
url 'http://theunarchiver.googlecode.com/files/unar1.2_src.zip' | ||
version '1.2' | ||
sha1 '6fcc27f6d37dc254b8c473b7616049083c566f4a' | ||
depends_on :xcode => :xcodebuild |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just depends_on :xcode
, no => :xcodebuild
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, should I made a new commit?
I have made a single commit |
It has passed a month, so I'm trying to bump |
This formula installs unar and lsar, the first one can extract archives with diferent formats and the last one list the contents of an archive.