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