]> git.saurik.com Git - ldid.git/blob - deb.sh
Use std::string more often, and factor out Commit.
[ldid.git] / deb.sh
1 #!/bin/bash
2 rm -rf _
3 mkdir -p _/usr/bin
4 cp -a ios/ldid _/usr/bin/ldid
5 mkdir -p _/DEBIAN
6 ./control.sh _ >_/DEBIAN/control
7 mkdir -p debs
8 ln -sf debs/ldid_$(./version.sh)_iphoneos-arm.deb ldid.deb
9 dpkg-deb -b _ ldid.deb
10 readlink ldid.deb