[svn-commits] tilghman: testsuite/asterisk/trunk r854 - /asterisk/trunk/lib/sh/library.sh
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Nov 17 15:33:33 CST 2010
Author: tilghman
Date: Wed Nov 17 15:33:30 2010
New Revision: 854
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=854
Log:
Use arguments to mktemp(1) that are compatible with the BSD version.
Modified:
asterisk/trunk/lib/sh/library.sh
Modified: asterisk/trunk/lib/sh/library.sh
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/sh/library.sh?view=diff&rev=854&r1=853&r2=854
==============================================================================
--- asterisk/trunk/lib/sh/library.sh (original)
+++ asterisk/trunk/lib/sh/library.sh Wed Nov 17 15:33:30 2010
@@ -52,7 +52,7 @@
for user in $@; do
echo " >>> Creating configuration directory for $user"
- eval "${user}_tmpdir=`mktemp --tmpdir=/var/tmp -t -d testsuite_$user.XXXXXX`"
+ eval "${user}_tmpdir=`mktemp -d /var/tmp/testsuite_$user.XXXXXX`"
# Shortcut for referral within this loop only
eval "conf=\${${user}_tmpdir}"
More information about the svn-commits
mailing list