Add support for realpath in build_haiku_image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36365 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -43,6 +43,8 @@ if [ ! $isCD ]; then
|
||||
normalizedImagePath=''
|
||||
if readlink -f "$imagePath" > /dev/null 2>&1 ; then
|
||||
normalizedImagePath=$(readlink -f "$imagePath")
|
||||
elif realpath "$imagePath" > /dev/null 2>&1 ; then
|
||||
normalizedImagePath=$(realpath "$imagePath")
|
||||
elif greadlink -f "$imagePath" > /dev/null 2>&1 ; then
|
||||
normalizedImagePath=$(greadlink -f "$imagePath")
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user