Skip to content

Commit

Permalink
make sure to remove the directory of Developer' and Users'
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Feb 25, 2012
1 parent c85dfed commit 8d2d138
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rakelib/packager.rake
Expand Up @@ -21,9 +21,10 @@ task :nightly do
`rake install DESTDIR=#{build_destination}`

## prepare for post install script
xcode_dir = `xcode-select -print-path`
# remove '/tmp/macruby-nightly/Developer/xxx'
xcode_dir = `xcode-select -print-path`.chomp
# remove '/tmp/macruby-nightly/Developer/' and '/tmp/macruby-nightly/Users/'
rm_rf "#{build_destination}/#{xcode_dir.split('/')[1]}"
rm_rf "#{build_destination}/Users"

temporary_dir = "#{build_destination}/tmp/macruby"
mkdir_p temporary_dir
Expand Down

0 comments on commit 8d2d138

Please sign in to comment.