[asterisk-commits] mjordan: testsuite/bamboo/trunk r5261 - /bamboo/trunk/bin/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 18 06:44:58 CDT 2014
Author: mjordan
Date: Fri Jul 18 06:44:48 2014
New Revision: 5261
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5261
Log:
run-asterisk-unittests: Update script for new sample config location
Modified:
bamboo/trunk/bin/run-asterisk-unittests.sh
Modified: bamboo/trunk/bin/run-asterisk-unittests.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/run-asterisk-unittests.sh?view=diff&rev=5261&r1=5260&r2=5261
==============================================================================
--- bamboo/trunk/bin/run-asterisk-unittests.sh (original)
+++ bamboo/trunk/bin/run-asterisk-unittests.sh Fri Jul 18 06:44:48 2014
@@ -86,8 +86,18 @@
stop_asterisk
# Revert back to samples manager.conf
- cp configs/manager.conf.sample /etc/asterisk/manager.conf
- cp configs/logger.conf.sample /etc/asterisk/logger.conf
+ if [ -f configs/manager.conf.sample ]; then
+ cp configs/manager.conf.sample /etc/asterisk/manager.conf
+ fi
+ if [ -f configs/samples/manager.conf.sample ]; then
+ cp configs/samples/manager.conf.sample /etc/asterisk/manager.conf
+ fi
+ if [ -f configs/logger.conf.sample ]; then
+ cp configs/logger.conf.sample /etc/asterisk/logger.conf
+ fi
+ if [ -f configs/samples/logger.conf.sample ]; then
+ cp configs/samples/logger.conf.sample /etc/asterisk/logger.conf
+ fi
}
if ! which asterisk ; then
More information about the asterisk-commits
mailing list