Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Commit

Permalink
Improved deleting of temporary package file
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed Aug 13, 2015
1 parent 1b0c99b commit 9ee04af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/gym/package_command_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def pipe

def postfix
# Remove the patched PackageApplication file after the export is finished
["; rm -rf '#{@patched_package_application}'"]
["&& rm '#{@patched_package_application}'"]
end

def appfile_path
Expand Down
2 changes: 1 addition & 1 deletion spec/package_command_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"-o '#{Gym::PackageCommandGenerator.ipa_path}'",
"exportFormat ipa",
"",
"; rm -rf '/tmp/PackageApplication4Gym'"
"&& rm '/tmp/PackageApplication4Gym'"
])
end
end
Expand Down

0 comments on commit 9ee04af

Please sign in to comment.