[Zrouter-src] ZRouter.org: push to ZRouter tools/rootup.sh

zrouter-src at zrouter.org zrouter-src at zrouter.org
Tue Aug 13 09:49:51 UTC 2013


details:   http://zrouter.org/hg/zrouter//rev/d5a47dc8d6a1
changeset: 495:d5a47dc8d6a1
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Tue Aug 13 12:50:43 2013 +0300
description:
Replace `realpath` with `readlink -f` so ZRouter.org can build on OpenBSD.
Pointed by:	Paul Irofti

diffstat:

 tools/rootup.sh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8dd701db11db -r d5a47dc8d6a1 tools/rootup.sh
--- 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


More information about the Zrouter-src mailing list