changeset 495:d5a47dc8d6a1

Replace `realpath` with `readlink -f` so ZRouter.org can build on OpenBSD. Pointed by: Paul Irofti
author Aleksandr Rybalko <ray@ddteam.net>
date Tue, 13 Aug 2013 12:50:43 +0300
parents 8dd701db11db
children 89304b5a4621
files tools/rootup.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/rootup.sh	Mon Jul 22 16:01:48 2013 +0300
+++ b/tools/rootup.sh	Tue Aug 13 12:50:43 2013 +0300
@@ -5,7 +5,7 @@
 ROOTUP="/.."
 _FOR_ROOTUP=`echo ${SRCPATH} | sed 's/\// /g'`
 for r in ${_FOR_ROOTUP}; do
-	_ROOTUP_TEST=`realpath ${SRCPATH}/${ROOTUP}`
+	_ROOTUP_TEST=`readlink -f ${SRCPATH}/${ROOTUP}`
 	if [ "x${_ROOTUP_TEST}" != "x/" ] ; then
 		ROOTUP="${ROOTUP}/.."
 	fi