Skip to content

Commit

Permalink
Refrain from re-assigning the PATH variable in Makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri committed Sep 11, 2024
1 parent 80bc34b commit a27a4f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/follow-9.6/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ down:
build:
docker compose build

PATH = /var/run/pgcopydb
VPATH = /var/run/pgcopydb
CNAME = follow-9.6
VNAME = follow-9.6
VOLUMES = -v $(VNAME):$(PATH)
VOLUMES = -v $(VNAME):$(VPATH)
OPTS = --env-file=../paths.env $(VOLUMES)
CLEANUP = make -f /var/lib/postgres/cleanup.mk

Expand Down
4 changes: 2 additions & 2 deletions tests/follow-data-only/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ down:
build:
docker compose build --quiet

PATH = /var/run/pgcopydb
VPATH = /var/run/pgcopydb
CNAME = follow-data-only
VNAME = follow-data-only
VOLUMES = -v $(VNAME):$(PATH)
VOLUMES = -v $(VNAME):$(VPATH)
OPTS = --env-file=../paths.env $(VOLUMES)
CLEANUP = make -f /var/lib/postgres/cleanup.mk

Expand Down
4 changes: 2 additions & 2 deletions tests/follow-wal2json/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ down:
build:
docker compose build --quiet

PATH = /var/run/pgcopydb
VPATH = /var/run/pgcopydb
CNAME = follow-wal2json
VNAME = follow-wal2json
VOLUMES = -v $(VNAME):$(PATH)
VOLUMES = -v $(VNAME):$(VPATH)
OPTS = --env-file=../paths.env $(VOLUMES)
CLEANUP = make -f /var/lib/postgres/cleanup.mk

Expand Down

0 comments on commit a27a4f1

Please sign in to comment.