# HG changeset patch # User Christian Mesh # Date 1339276818 18000 # Node ID da05a24396305e14afc90c9867d30398b4acfeb1 # Parent 45434133a9df41c01a88112a17961bf582e1bc59 Successfully converted a deb package\! diff -r 45434133a9df -r da05a2439630 spk-convert --- a/spk-convert Sat Jun 09 16:12:36 2012 -0500 +++ b/spk-convert Sat Jun 09 16:20:18 2012 -0500 @@ -392,7 +392,7 @@ # convert a .deb package to .tazpkg # Usage: convert_deb $package_file convert_deb() { - local $package_file="$1" + local package_file="$1" # Extract deb control mkdir -p $tmpdir @@ -403,7 +403,7 @@ # Usage: filter_vars $search_var filter_vars() { local var=$1 - local result=$(grep '^ *$var:' $tmpdir/control) + local result=$(grep "^ *$var:" $tmpdir/control) echo ${result##*:} } @@ -436,7 +436,7 @@ show_unresolved_lib $file/receipt # Description.txt - [ -z "$SHORT_DESC" ] || echo "$SHORT_DESC" > $file/Description.txt + [ -z "$SHORT_DESC" ] || echo "$SHORT_DESC" > $file/description.txt pack $PACKAGE $file