Skip to content

Commit

Permalink
fix(grpcplugins): fix Makefile for other os than mac (#3338)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
  • Loading branch information
bnjjj authored and fsamin committed Sep 19, 2018
1 parent cd58aca commit 66a88c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/grpcplugins/action/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ build-all:
FILENAME=$$pluginname-$$GOOS-$$GOARCH$$EXTENSION; \
GOOS=$$GOOS GOARCH=$$GOARCH $(GO_BUILD) $(TARGET_LDFLAGS) -o $$plugin/$(TARGET_DIR)/$$FILENAME ./$$pluginname; \
echo "$$PLUGIN_MANIFEST_BINARY" > $$plugin/$(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml; \
sed -i "" "s/%os%/$$GOOS/" $$plugin/$(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml; \
sed -i "" "s/%arch%/$$GOARCH/" $$plugin/$(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml; \
sed -i "" "s/%filename%/$$FILENAME/" $$plugin/$(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml; \
perl -pi -e s,%os%,$$GOOS,g $$plugin/$(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml; \
perl -pi -e s,%arch%,$$GOARCH,g $$plugin/$(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml; \
perl -pi -e s,%filename%,$$FILENAME,g $$plugin/$(TARGET_DIR)/plugin-$$GOOS-$$GOARCH.yml; \
done; \
done; \
done
Expand Down

0 comments on commit 66a88c1

Please sign in to comment.