From f9ccc3bcdc2637ab5c6a0ba4b8523c73e42539ef Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Mon, 15 Nov 2010 14:56:32 +0000 Subject: live_dahdi: rsync to /tmp/dahdi * Change the destination of rsync to /tmp/dahdi * Add variable LIVE_DAHDI_RSYNC_DIR to allow overriding this. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9480 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- build_tools/live_dahdi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build_tools') diff --git a/build_tools/live_dahdi b/build_tools/live_dahdi index 4a9f20a..0e15a6b 100755 --- a/build_tools/live_dahdi +++ b/build_tools/live_dahdi @@ -4,6 +4,7 @@ LINUX_DIR=${LINUX_DIR:=.} TOOLS_DIR=${TOOLS_DIR:=../dahdi-tools} DYNAMIC_LOC="${DYNAMIC_LOC:-no}" DESTDIR=$PWD/live +LIVE_DAHDI_RSYNC_DIR=${LIVE_DAHDI_RSYNC_DIR:-/tmp/dahdi} KVERS=${KVERS:-`uname -r`} XPP_SYNC=${XPP_SYNC:-auto} AST_SCRIPT=${AST_SCRIPT:-/etc/init.d/asterisk} @@ -258,7 +259,7 @@ rsync) fi # copy the script itself and the installed directory to the # target host: - rsync -ai "$0" $DESTDIR "$2:/tmp/" + rsync -ai "$0" $DESTDIR "$2:$LIVE_DAHDI_RSYNC_DIR" ;; unload) # OK for Asterisk not to be running. TODO: a better test? -- cgit v1.2.3