X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/45211c6724e888d9baa3cc8217f46d42e5c2fa13..367a112d938db5c80814b42c428b517e4a65efd9:/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)"