teamplayer: Use TP_REPO instead of HG_REPO

This commit is contained in:
Albert Hopkins 2012-02-02 14:10:20 +00:00
parent bacb00e17f
commit 91ce20d98f
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
HG_REPO ?= ../../teamplayer
TP_REPO ?= ../../teamplayer
TP_USER = teamplayer
TP_HOME = /opt/teamplayer
TP_DB = /var/lib/teamplayer
@ -35,7 +35,7 @@ endif
$(inroot) getent passwd $(TP_USER) || \
$(inroot) useradd -c "Teamplayer Server" -G postgres -U -d $(TP_HOME) $(TP_USER)
rm -rf $(CHROOT)/$(TP_HOME)
hg clone --pull $(HG_REPO) $(CHROOT)/$(TP_HOME)
hg clone --pull $(TP_REPO) $(CHROOT)/$(TP_HOME)
cp bash_profile $(CHROOT)$(TP_HOME)/.bash_profile
$(inroot) mkdir -p /etc/teamplayer
$(M4C) settings_local.py > $(CHROOT)/etc/teamplayer/settings_local.py