Commit 971ac89f authored by Michael Hanus 's avatar Michael Hanus

`realpath` replaced by `readlink -f`

parent 45be7100
Pipeline #1543 passed with stages
in 217 minutes and 4 seconds
......@@ -43,7 +43,7 @@ if [ ! -x "$SICSTUSPROLOG" -a ! -x "$SWIPROLOG" ] ; then
SICSTUSPROLOG=`which sicstus 2> /dev/null`
fi
if [ -x "$SICSTUSPROLOG" ] ; then
SICSTUSPROLOG=`realpath $SICSTUSPROLOG`
SICSTUSPROLOG=`readlink -f $SICSTUSPROLOG`
echo "halt." | $SICSTUSPROLOG > /tmp/sicstusout$$ 2>&1
if [ $? -ne 0 ] ; then
SICSTUSPROLOG=
......@@ -62,7 +62,7 @@ if [ -z "$SICSTUSPROLOG" ] ; then
SWIPROLOG=`which swipl 2> /dev/null`
fi
if [ -x "$SWIPROLOG" ] ; then
SWIPROLOG=`realpath $SWIPROLOG`
SWIPROLOG=`readlink -f $SWIPROLOG`
echo "halt." | $SWIPROLOG > /tmp/swiprologout$$ 2>&1
if [ $? -ne 0 ] ; then
SWIPROLOG=
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment