6 echo $
(cygpath
-ua "$1") |
sed 's:/$::g'
9 #[[ $(echo $1 | awk '/^\//') == $1 ]] && echo "$1" || echo "$PWD/$1"
10 [[ ${1:0:1} == "/" ]] && echo "$1" ||
echo "$PWD/$1"
13 echo $
(readlink
-f "$1")
16 if [[ ${1:0:1} == "/" ]]; then
18 elif [[ ${1:0:2} == "./" ]]; then
30 echo $
(cygpath
-da "$1")
37 ROOT
=$
(abspath
`dirname "$0"`)
42 cd "$ROOT/patch_tools"
43 tar cvzf ..
/patch_tools.tgz
*.jar updatecert.pem updatekey.pk8 boot cygwin mac linux
46 tar cvzf patch_patches.tgz patches
48 zip autopatcher.
zip auto_patcher patch_tools.tgz patch_patches.tgz ap_scripts
/*