summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-02 08:12:33 +0000
committerJay Freeman <saurik@saurik.com>2008-01-02 08:12:33 +0000
commitd226560b85a70759b17943113f54eaf230717156 (patch)
tree48a36e95218fa788f1e285f68a8f66158cbe4cad /make.sh
parent7fe4faa796d3393f6a806c3ebb56c0a2792c1144 (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-xmake.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/make.sh b/make.sh
index 4708b6f5b..e525aa988 100755
--- a/make.sh
+++ b/make.sh
@@ -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: {