summaryrefslogtreecommitdiff
path: root/control.sh
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-08 07:40:09 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-08 07:40:09 -0800
commit915284a678c405601a110b9e872055665d4a35db (patch)
treee147e59f580670053dad9c68a4668820afb081b1 /control.sh
parent29640f4e95517ab2bfb89c474625cf80ae576b39 (diff)
Split cydia-lproj from main package.
Diffstat (limited to 'control.sh')
-rwxr-xr-xcontrol.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/control.sh b/control.sh
index 537cb66..3d808bf 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)"