[svn-commits] tzafrir: linux/trunk r9480 - /linux/trunk/build_tools/live_dahdi

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 15 08:56:34 CST 2010


Author: tzafrir
Date: Mon Nov 15 08:56:32 2010
New Revision: 9480

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9480
Log:
live_dahdi: rsync to /tmp/dahdi

* Change the destination of rsync to /tmp/dahdi
* Add variable LIVE_DAHDI_RSYNC_DIR to allow overriding this.

Modified:
    linux/trunk/build_tools/live_dahdi

Modified: linux/trunk/build_tools/live_dahdi
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/build_tools/live_dahdi?view=diff&rev=9480&r1=9479&r2=9480
==============================================================================
--- linux/trunk/build_tools/live_dahdi (original)
+++ linux/trunk/build_tools/live_dahdi Mon Nov 15 08:56:32 2010
@@ -4,6 +4,7 @@
 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 @@
 	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?




More information about the svn-commits mailing list