diff options
-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';; |