[Swift-commit] r3534 - trunk/bin
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Fri Aug 13 20:22:46 CDT 2010
Author: davidk
Date: 2010-08-13 20:22:46 -0500 (Fri, 13 Aug 2010)
New Revision: 3534
Modified:
trunk/bin/swift
Log:
Redirect 'which' stderr stream
Modified: trunk/bin/swift
===================================================================
--- trunk/bin/swift 2010-08-13 21:55:38 UTC (rev 3533)
+++ trunk/bin/swift 2010-08-14 01:22:46 UTC (rev 3534)
@@ -98,18 +98,18 @@
#SWIFT_USAGE_STATS=0
PATH=$PATH:/sbin
-IFCONFIG=`which ifconfig`
+IFCONFIG=`which ifconfig 2>&1`
if [ -x "$IFCONFIG" ]; then
MAC=`$IFCONFIG |grep HWaddr`
fi
-MD5SUM=`which md5sum`
+MD5SUM=`which md5sum 2>&1`
if [ ! -x "$MD5SUM" ]; then
echo "warning: unable to find md5sum"
SWIFT_USAGE_STATS=0
fi
-NC=`which nc`
+NC=`which nc 2>&1`
if [ ! -x "$NC" ]; then
echo "warning: unable to find nc"
SWIFT_USAGE_STATS=0
More information about the Swift-commit
mailing list