Skip to content

Commit

Permalink
Remove bashism from Makefile for go version
Browse files Browse the repository at this point in the history
  • Loading branch information
shinh committed Mar 24, 2016
1 parent f124de0 commit d74c7bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.kati
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ kati: go_src_stamp
cp out/bin/kati $@

go_src_stamp: $(GO_SRCS) $(wildcard cmd/*/*.go)
-rm -rf out/{src,pkg/*}/github.com/google/kati
mkdir -p out/{src,pkg/*}/github.com/google/kati
-rm -rf out/src/github.com/google/kati
mkdir -p out/src/github.com/google/kati
cp -a $(GO_SRCS) cmd out/src/github.com/google/kati
GOPATH=${KATI_GOPATH} go get github.com/google/kati/cmd/kati
touch $@
Expand Down

0 comments on commit d74c7bb

Please sign in to comment.