Project

General

Profile

« Previous | Next » 

Revision 3700

lib/common.Makefile: rsync: $(remote): Fixed bug where the inputs/ dir was hardcoded, when the remote dir name needed to be determined dynamically based on the Makefile dir

View differences:

common.Makefile
21 21
rsync := rsync$(if $(test), --dry-run) --archive --update --verbose\
22 22
--itemize-changes --progress --exclude=".*"
23 23
local := ./
24
remote := $(src_user)@$(src_server):/home/bien/svn/inputs/
24
localDirName := $(notdir $(realpath $(local)))
25
remote := $(src_user)@$(src_server):/home/bien/svn/$(localDirName)/
25 26

  
26 27
##### General targets
27 28

  

Also available in: Unified diff