Skip to content

Commit

Permalink
Merge pull request #43 from newrelic/adn/fix_packaging
Browse files Browse the repository at this point in the history
Add suffix for selecting yml while packaging
  • Loading branch information
alejandrodnm authored Feb 5, 2019
2 parents 6d7f444 + eaa6e71 commit d787692
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile-package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ prep-pkg-env:
@echo "=== Main === [ prep-pkg-env ]: adding built binaries and configuration and definition files..."
@cp $(BINS_DIR)/$(BINARY_NAME) $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/bin
@chmod 755 $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/bin/*
@cp ./*.yml $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/
@chmod 644 $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/*.yml
@cp ./*.sample $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/
@chmod 644 $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/*.sample
@cp ./*-definition.yml $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/
@chmod 644 $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/*-definition.yml
@cp ./*-config.yml.sample $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/
@chmod 644 $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/*-config.yml.sample

deb: prep-pkg-env
@echo "=== Main === [ deb ]: building DEB package..."
Expand Down

0 comments on commit d787692

Please sign in to comment.