summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 16:02:31 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 16:02:31 +0000
commit0673535c576267adb537935c02917a526166442d (patch)
tree9ded8a50c790e805993428ea1e6cd2b32fcfe3f6 /make.sh
parentdb42276c66e5ecc186991f992c2f38776b4be771 (diff)
Added a bunch more packages and fixed jni.h conflict in JamVM.
git-svn-id: http://svn.telesphoreo.org/trunk@7 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/make.sh b/make.sh
index 283408bcf..996041122 100755
--- a/make.sh
+++ b/make.sh
@@ -14,10 +14,12 @@ done
export PKG_HASH=$({
find -L "${PKG_DATA}" \( -name '.svn' -o -name '_*' \) -prune -o -type f -print0 | sort -z | xargs -0 cat
- if [[ ${#PKG_DEPS[@]} -ne 0 ]]; then
- find -H "${PKG_DEPS[@]}" -type l -printf '%p -> %l\n' | sort
- find -H "${PKG_DEPS[@]}" -type f -print0 | sort -z | xargs -0 cat
- fi
+ for dep in "${PKG_DEPS[@]}"; do
+ DEP_NAME=$(basename "${dep}" .dep)
+ DEP_DEST=${PKG_BASE}/dest/${DEP_NAME}
+ find -H "${DEP_DEST}" -type l -printf '%p -> %l\n' | sort
+ find -H "${DEP_DEST}" -type f -print0 | sort -z | xargs -0 cat
+ done
} | md5sum | cut -d ' ' -f 1)
echo "hashed ${PKG_NAME} to: ${PKG_HASH}"