[svn-commits] tzafrir: linux/trunk r8585 - /linux/trunk/build_tools/kernel-cp

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


Author: tzafrir
Date: Mon May  3 02:48:12 2010
New Revision: 8585

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

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

Modified:
    linux/trunk/build_tools/kernel-cp

Modified: linux/trunk/build_tools/kernel-cp
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/build_tools/kernel-cp?view=diff&rev=8585&r1=8584&r2=8585
==============================================================================
--- linux/trunk/build_tools/kernel-cp (original)
+++ linux/trunk/build_tools/kernel-cp Mon May  3 02:48:12 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