diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-25 03:01:13 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:17 -0800 |
commit | f2229be25e593028b45150d92faa412d63797b89 (patch) | |
tree | 61fa62295dbe18f9ccc9de78bab6ce5552c81c68 /sysroot.sh | |
parent | de1ace71a801664ca0ed2812935fa63997eea18b (diff) |
New mobilesubstrate packages include an absolute symlink.
Diffstat (limited to 'sysroot.sh')
-rwxr-xr-x | sysroot.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,12 @@ wget -qO- "${repository}dists/${distribution}/${component}/binary-${architecture rm -f *.deb +if substrate=$(readlink usr/include/substrate.h); then + if [[ ${substrate} == /* ]]; then + ln -sf "../..${substrate}" usr/include/substrate.h + fi +fi + mkdir -p usr/include cd usr/include |