spk rev 114

Successfully converted a deb package\!
author Christian Mesh <meshca@clarkson.edu>
date Sat Jun 09 16:20:18 2012 -0500 (2012-06-09)
parents 45434133a9df
children b7b49698c0f5
files spk-convert
line diff
     1.1 --- a/spk-convert	Sat Jun 09 16:12:36 2012 -0500
     1.2 +++ b/spk-convert	Sat Jun 09 16:20:18 2012 -0500
     1.3 @@ -392,7 +392,7 @@
     1.4  # convert a .deb package to .tazpkg
     1.5  # Usage: convert_deb $package_file
     1.6  convert_deb() {
     1.7 -	local $package_file="$1"
     1.8 +	local package_file="$1"
     1.9  	
    1.10  	# Extract deb control
    1.11  	mkdir -p $tmpdir
    1.12 @@ -403,7 +403,7 @@
    1.13  	# Usage: filter_vars $search_var
    1.14  	filter_vars() {
    1.15  		local var=$1
    1.16 -		local result=$(grep '^ *$var:' $tmpdir/control)
    1.17 +		local result=$(grep "^ *$var:" $tmpdir/control)
    1.18  		echo ${result##*:}
    1.19  	}
    1.20  	
    1.21 @@ -436,7 +436,7 @@
    1.22  		show_unresolved_lib $file/receipt
    1.23  		
    1.24  		# Description.txt
    1.25 -		[ -z "$SHORT_DESC" ] || echo "$SHORT_DESC" > $file/Description.txt
    1.26 +		[ -z "$SHORT_DESC" ] || echo "$SHORT_DESC" > $file/description.txt
    1.27  		
    1.28  		pack $PACKAGE $file
    1.29