spk rev 116

Successfully converted a ipk package\!
author Christian Mesh <meshca@clarkson.edu>
date Sat Jun 09 16:50:21 2012 -0500 (2012-06-09)
parents b7b49698c0f5
children 0709bea4297c
files spk-convert
line diff
     1.1 --- a/spk-convert	Sat Jun 09 16:38:58 2012 -0500
     1.2 +++ b/spk-convert	Sat Jun 09 16:50:21 2012 -0500
     1.3 @@ -225,9 +225,9 @@
     1.4  	target=$(filter_vars "Architecture")
     1.5  	case "$target" in
     1.6  		i386|all)
     1.7 -			local file="$PACKAGE-$VERSION"
     1.8 -			local receipt="$tmpdir/$file/receipt"
     1.9 -			local fs="$tmpdir/$file/fs"
    1.10 +			local file="$tmpdir/$PACKAGE-$VERSION"
    1.11 +			local receipt="$file/receipt"
    1.12 +			local fs="$file/fs"
    1.13  			
    1.14  			mkdir -p $fs
    1.15  			tar xOzf $package_file ./data.tar.gz | tar xzf - -C $fs
    1.16 @@ -267,7 +267,7 @@
    1.17  
    1.18  			pack $PACKAGE $file
    1.19  			
    1.20 -			mv $tmpdir/$file.tazpkg .
    1.21 +			mv $file.tazpkg .
    1.22  			;;
    1.23  		*)
    1.24  			gettext "Invalid target: $target (expected i386)"; newline