Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't trigger an rm error if there are no files to delete

  • Loading branch information...
commit 385da29d24ebddf013cd46dfb612b86512db18ae 1 parent 03f6103
@jhs jhs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tasks/erlang.rake
View
2  tasks/erlang.rake
@@ -122,7 +122,7 @@ namespace :erlang do
Dir.chdir source
sh 'git reset --hard && git clean -fd'
rm = (DISTRO[0] == :solaris) ? 'rm' : 'rm -v'
- sh "git ls-files --others -i --exclude-standard | xargs #{rm} || true"
+ sh "git ls-files --others -i --exclude-standard | xargs #{rm} -f || true"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.