From f9407c4766fa24f46c381ecc61f75f6242c7e13e Mon Sep 17 00:00:00 2001 From: Quentin Perez Date: Tue, 29 Mar 2016 14:55:51 +0200 Subject: [PATCH] scw.rb: Don't use system to call rm --- contrib/homebrew/scw.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/homebrew/scw.rb b/contrib/homebrew/scw.rb index 8cfea74037..fbcd7ec85b 100644 --- a/contrib/homebrew/scw.rb +++ b/contrib/homebrew/scw.rb @@ -20,7 +20,7 @@ def install system "go", "build", "-o", "#{bin}/scw", "-v", "-ldflags", "-X github.com/scaleway/scaleway-cli/pkg/scwversion.GITCOMMIT=homebrew", "github.com/scaleway/scaleway-cli/cmd/scw/" # we remove our .scw-cache.db file, to clean the cache of scw # this file is created and handled by scw - system "rm", "-f", "~/.scw-cache.db" + rm_f "~/.scw-cache.db" bash_completion.install "src/github.com/scaleway/scaleway-cli/contrib/completion/bash/scw" zsh_completion.install "src/github.com/scaleway/scaleway-cli/contrib/completion/zsh/_scw"