tazwok rev 323

Fixed is_elf function in check-depends. Was getting a sh: missing ] error before this fix.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 00:53:25 2011 +0000 (2011-02-19)
parents b1ae0d3522f7
children 3148c5f8d0c2
files tazwok
line diff
     1.1 --- a/tazwok	Sat Feb 19 02:20:30 2011 +0100
     1.2 +++ b/tazwok	Sat Feb 19 00:53:25 2011 +0000
     1.3 @@ -2299,8 +2299,7 @@
     1.4  		# Check for ELF file
     1.5  		is_elf()
     1.6  		{
     1.7 -			[ "$(dd if=$1 bs=1 skip=1 count=3 2> /dev/null)" \
     1.8 -				= "ELF" ]
     1.9 +			[ "$(dd if=$1 bs=1 skip=1 count=3 2> /dev/null)" = "ELF" ]
    1.10  		}
    1.11  
    1.12  		# Print shared library dependencies