X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/3adcfba70e98d8248f36c69c9c54fa6c11c8683a..e67b009f8f8c7b64e3489eedf40b75056fc45a08:/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)"