From 762e53a65fc50bf509522869edc75fb96307b74b Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 17 Apr 2020 14:25:10 -0300 Subject: [PATCH] use instead of tild --- pkg/formula/tpl/tplgo/tpl_go.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/formula/tpl/tplgo/tpl_go.go b/pkg/formula/tpl/tplgo/tpl_go.go index 7771ed920..e70f4552e 100644 --- a/pkg/formula/tpl/tplgo/tpl_go.go +++ b/pkg/formula/tpl/tplgo/tpl_go.go @@ -151,22 +151,22 @@ test-local: ifneq ("$(FORM)", "") @echo "Using form true: " $(FORM_TO_UPPER) $(MAKE) bin FORMULAS=$(FORM) - mkdir -p ~/.rit/formulas - rm -rf ~/.rit/formulas/$(FORM) + mkdir -p $(HOME)/.rit/formulas + rm -rf $(HOME)/.rit/formulas/$(FORM) ./unzip-bin-configs.sh - cp -r formulas/* ~/.rit/formulas + cp -r formulas/* $(HOME)/.rit/formulas rm -rf formulas else @echo "Use make test-local form=NAME_FORMULA for specific formula." @echo "form false: ALL FORMULAS" $(MAKE) bin - rm -rf ~/.rit/formulas + rm -rf $(HOME)/.rit/formulas ./unzip-bin-configs.sh - mv formulas ~/.rit + mv formulas $(HOME)/.rit endif - mkdir -p ~/.rit/repo/local - rm -rf ~/.rit/repo/local/tree.json - cp tree/tree.json ~/.rit/repo/local/tree.json + mkdir -p $(HOME)/.rit/repo/local + rm -rf $(HOME)/.rit/repo/local/tree.json + cp tree/tree.json $(HOME)/.rit/repo/local/tree.json ` TemplatePkg = `package {{nameModule}}