diff options
author | Jay Freeman <saurik@saurik.com> | 2009-02-22 17:56:05 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-02-22 17:56:05 +0000 |
commit | 6195d43770e6f414e9262fcd3ee98786f39c47b6 (patch) | |
tree | 07fc2e36db35c8c08acb90aab07141eb90818eea | |
parent | 19e33c3fd336131c7679e3d7d1a6022775e3bc83 (diff) |
Finished implementing exec.sh's dependency cutter.
git-svn-id: http://svn.telesphoreo.org/trunk@551 514c082c-b64e-11dc-b46d-3d985efe055d
-rwxr-xr-x | exec.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -20,12 +20,14 @@ case "${PKG_NAME}" in (-) deps=();; (:*) deps=(${PKG_NAME//:/ });; (*) deps=($({ - find -L "${PKG_DATA}"/_metadata -name '*.dep' | cut -d '/' -f - + find -L "${PKG_DATA}"/_metadata -name '*.dep' -exec basename {} .dep \; } | sort -u));; esac for dep in ${deps[@]}; do - DEP_NAME=$(basename "${dep}" .dep) + # XXX: bother dealing with weird arguments? + #DEP_NAME=$(basename "${dep}" .dep) + DEP_NAME=${dep} DEP_DEST=$(PKG_DEST_ "${DEP_NAME}") PKG_PATH=${PKG_PATH}:${DEP_DEST} |