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