Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
vitess/lite: Install config files at the new location. (vitessio#5707)
Browse files Browse the repository at this point in the history
The expected location of config files has changed, but we were still
installing them in the old location. This also adds a symlink from the
old location to remain backwards-compatible.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
  • Loading branch information
enisoc authored Jan 14, 2020
1 parent 1b384b8 commit 6b55d84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ install: build
mkdir -p "$${PREFIX}/bin"
cp "$${VTROOT}/bin/"{mysqlctld,vtctld,vtctlclient,vtgate,vttablet,vtworker,vtbackup} "$${PREFIX}/bin/"
# config files
cp -R config "$${PREFIX}/"
mkdir -p "$${PREFIX}/src/vitess.io/vitess"
cp -R config "$${PREFIX}/src/vitess.io/vitess/"
# also symlink config files in the old location
ln -sf src/vitess.io/vitess/config "$${PREFIX}/config"
# vtctld web UI files
mkdir -p "$${PREFIX}/src/vitess.io/vitess/web"
cp -R web/vtctld "$${PREFIX}/src/vitess.io/vitess/web/"
Expand Down

0 comments on commit 6b55d84

Please sign in to comment.