Fallback to greadlink (for OSX) (it must be installed with macports).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35413 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -34,11 +34,14 @@ fi
|
|||||||
|
|
||||||
# If the haiku image path is a symlink resolve it now (makebootable needs the
|
# If the haiku image path is a symlink resolve it now (makebootable needs the
|
||||||
# path of the actual device path under Linux).
|
# path of the actual device path under Linux).
|
||||||
|
normalizedImagePath=''
|
||||||
if readlink -f "$imagePath" > /dev/null 2>&1 ; then
|
if readlink -f "$imagePath" > /dev/null 2>&1 ; then
|
||||||
normalizedImagePath=$(readlink -f "$imagePath")
|
normalizedImagePath=$(readlink -f "$imagePath")
|
||||||
if [ "$normalizedImagePath" ]; then
|
elif greadlink -f "$imagePath" > /dev/null 2>&1 ; then
|
||||||
imagePath="$normalizedImagePath"
|
normalizedImagePath=$(greadlink -f "$imagePath")
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$normalizedImagePath" ]; then
|
||||||
|
imagePath="$normalizedImagePath"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# this adds the build library dir to LD_LIBRARY_PATH
|
# this adds the build library dir to LD_LIBRARY_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user