diff options
author | Jay Freeman <saurik@saurik.com> | 2008-02-03 12:57:51 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-02-03 12:57:51 +0000 |
commit | 8468222b7e104bda2349041309f90c85352402a6 (patch) | |
tree | 971396d3c8ae840438847f428b1b20027f0205c1 | |
parent | 632dabde54f0ccd35411e2ce80ebbdb1aacead44 (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-x | make.sh | 2 | ||||
-rwxr-xr-x | util/uname | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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';; |