[svn-commits] tzafrir: branch linux/tzafrir/sysfs r8583 - /linux/team/tzafrir/sysfs/build_t...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 3 02:26:42 CDT 2010


Author: tzafrir
Date: Mon May  3 02:26:38 2010
New Revision: 8583

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8583
Log:
fix kernel-cp download test

'wc -c <f$ile' returns the name of the file as well.

Modified:
    linux/team/tzafrir/sysfs/build_tools/kernel-cp

Modified: linux/team/tzafrir/sysfs/build_tools/kernel-cp
URL: http://svnview.digium.com/svn/dahdi/linux/team/tzafrir/sysfs/build_tools/kernel-cp?view=diff&rev=8583&r1=8582&r2=8583
==============================================================================
--- linux/team/tzafrir/sysfs/build_tools/kernel-cp (original)
+++ linux/team/tzafrir/sysfs/build_tools/kernel-cp Mon May  3 02:26:38 2010
@@ -26,7 +26,7 @@
 	fi
 	
 	wget -O "$check_patch" "$URL"
-	if [ `wc -c "$check_patch"` -lt 1000 ]; then
+	if [ `wc -c <"$check_patch"` -lt 1000 ]; then
 		# already downloaded
 		# FIXME: redirection fails on downloading and you get a
 		# short HTML file as your "script".




More information about the svn-commits mailing list