X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/45211c6724e888d9baa3cc8217f46d42e5c2fa13..ca0a920d902e70044e20bbd4efd993e5d63789e7:/control.sh diff --git a/control.sh b/control.sh index 537cb663..3d808bf8 100755 --- a/control.sh +++ b/control.sh @@ -1,5 +1,6 @@ #!/bin/bash -dir=$1 +src=$1 +dir=$2 dir=${dir:=_} -sed -e "s@^\(Version:\).*@\1 $(./version.sh)@" control +sed -e "s@^\(Version:\).*@\1 $(./version.sh)@" "${src}" echo "Installed-Size: $(du -s "${dir}" | cut -f 1)"