ifolder/www-apps/ifolder3-enterprise/files/ifdata.patch

17 lines
713 B
Diff

thanks to ajft on the iFolder-Ubuntu-Debian-Android-dev google group.
submitted to
https://bugzilla.novell.com/show_bug.cgi?id=614964
Index: simias-1.8.4.0.trunk.7360/src/core/ifdata
===================================================================
--- simias-1.8.4.0.trunk.7360.orig/src/core/ifdata 2010-06-16 21:23:51.425392140 -0400
+++ simias-1.8.4.0.trunk.7360/src/core/ifdata 2010-06-16 21:28:45.285397170 -0400
@@ -6,7 +6,7 @@
# /sbin/ifconfig | grep 'inet addr' | cut -f2 -d':' | cut -f1 -d' '
#fi
ostype=`echo $OSTYPE | awk '/^darwin/ {print "darwin"}'`
-if [ "$ostype" == "darwin" ]
+if [ "$ostype" = "darwin" ]
then
/sbin/ifconfig | grep '\<inet\>' | cut -f2 -d' ' | cut -f1 -d' '
else