Sign in
android
/
platform
/
tools
/
acloud
/
refs/heads/android10-mainline-a-release
/
.
/
setup
/
pre_setup_sh
/
setup_utils.sh
blob: 90a9c1e119e92b1b8cf16297ae6366cedfbcbd1f [
file
] [
log
] [
blame
]
#!/bin/bash
# Just in case realpath doesn't exist, try a perl approach.
function
get_real_path
()
{
if
realpath $0
&>
/
dev
/
null
;
then
realpath $0
return
fi
perl
-
e
'use Cwd "abs_path";print abs_path(shift)'
$0
}