diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-05-03 07:48:12 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-05-03 07:48:12 +0000 |
commit | 06b22b35fcd1786f249ed85d4b1c16c627c13d8d (patch) | |
tree | 23f8385474e42f0233e6ac4dc7d29460372770f8 /build_tools | |
parent | 00d49c2a9aab0cf803b68dd6d112f04a2f258ac0 (diff) |
fix kernel-cp download test
'wc -c <f$ile' returns the name of the file as well.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8585 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/kernel-cp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/kernel-cp b/build_tools/kernel-cp index 644e1f4..bf31b25 100755 --- a/build_tools/kernel-cp +++ b/build_tools/kernel-cp @@ -26,7 +26,7 @@ if [ "$1" = 'download' ]; then 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". |