diff options
author | Jay Freeman <saurik@saurik.com> | 2008-01-02 08:12:33 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-01-02 08:12:33 +0000 |
commit | d226560b85a70759b17943113f54eaf230717156 (patch) | |
tree | 48a36e95218fa788f1e285f68a8f66158cbe4cad /make.sh | |
parent | 7fe4faa796d3393f6a806c3ebb56c0a2792c1144 (diff) |
Fixed a bunch of massively broken dependencies and got OpenSSH working.
git-svn-id: http://svn.telesphoreo.org/trunk@9 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'make.sh')
-rwxr-xr-x | make.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -79,11 +79,11 @@ function pkg:install() { } function pkg_ { - if [[ ${1:0:1} = / ]]; then - echo "${PKG_DEST}$1" - else - echo $1 - fi + case "${1:0:1}" in + (/) echo "${PKG_DEST}$1";; + (%) echo "${PKG_DATA}${1:1}";; + (*) echo "$1";; + esac } function pkg: { |