summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-03 12:57:51 +0000
committerJay Freeman <saurik@saurik.com>2008-02-03 12:57:51 +0000
commit8468222b7e104bda2349041309f90c85352402a6 (patch)
tree971396d3c8ae840438847f428b1b20027f0205c1
parent632dabde54f0ccd35411e2ce80ebbdb1aacead44 (diff)
Modifying uname didn't work out as well as I hoped.
git-svn-id: http://svn.telesphoreo.org/trunk@52 514c082c-b64e-11dc-b46d-3d985efe055d
-rwxr-xr-xmake.sh2
-rwxr-xr-xutil/uname3
2 files changed, 3 insertions, 2 deletions
diff --git a/make.sh b/make.sh
index bf7212d54..5325bad10 100755
--- a/make.sh
+++ b/make.sh
@@ -11,7 +11,7 @@ export PKG_MAKE=$0
export PKG_NAME=${1%_}
export PKG_BASE=$(realpath "$(dirname "$0")")
-export PATH=${PKG_BASE}/util:$PATH
+#export PATH=${PKG_BASE}/util:$PATH
. "${PKG_BASE}/helper.sh"
for dep in "${PKG_DEPS[@]}"; do
diff --git a/util/uname b/util/uname
index adc4d23ab..db07673fc 100755
--- a/util/uname
+++ b/util/uname
@@ -1,9 +1,10 @@
#!/bin/bash
OPTIND=1
-while getopts mnrsv OPTKEY; do
+while getopts mnprsv OPTKEY; do
case $OPTKEY in
(m) echo 'iPhone1,1';;
(n) echo 'transponder';;
+ (p) echo 'unknown';;
(r) echo '9.0.0d1';;
(s) echo 'Darwin';;
(v) echo 'Darwin Kernel Version 9.0.0d1: Wed Sep 19 00:08:43 PDT 2007; root:xnu-933.0.0.203.obj~21/RELEASE_ARM_S5L8900XRB';;